Skip to content

Iris (#5A4FCF)

The hex code for Iris is #5A4FCF. It is rgb(90, 79, 207) in RGB, hsl(245, 57%, 56%) in HSL, and about cmyk(57%, 62%, 0%, 19%) in CMYK — a mid-tone blue. White text is the more readable choice on this background.

#5A4FCF
HEX#5A4FCF
RGBrgb(90, 79, 207)
HSLhsl(245, 57%, 56%)
HSVhsv(245, 62%, 81%)
CMYKcmyk(57%, 62%, 0%, 19%)
OKLCHoklch(51.4% 0.19 281.2)
LABlab(40.67% 32.72 -66.24)
LCHlch(40.67% 73.88 296.29)

Colors Closest to Iris

Iris is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every blue in the library.

#5A4FCF Channel Values

How Iris breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 90 · G 79 · B 2078-bit channels as sent to the display
HSLH 245° · S 57% · L 56%Easiest model for building lighter and darker variants
HSVH 245° · S 62% · V 81%Matches the picker in most design tools
CMYKC 57% · M 62% · Y 0% · K 19%Approximate ink mix; confirm with an ICC profile before printing
Luminance6.08:1 vs white · 3.45:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Iris background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text6.08:1AA normal AA large AAA normal
Fails AABlack text3.45:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #5A4FCF in the contrast checker.

Colors That Go With Iris

Pairings derived from color-wheel relationships. The complementary color sits opposite Iris; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Iris

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #5A4FCF.

How Iris Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#5A4FCF
Protanopia#5151CF
Protanomaly#5550CF
Deuteranopia#5353CF
Deuteranomaly#5651CF
Tritanopia#336B6B
Tritanomaly#46619D
Achromatopsia#626262

Test a full palette in the color blindness simulator.

Using #5A4FCF in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--iris: #5A4FCF;
CSS backgroundbackground-color: #5A4FCF;
Tailwind configcolors: { 'iris': '#5A4FCF' }
SwiftUIColor(red: 0.353, green: 0.310, blue: 0.812)
Android XML<color name="iris">#5A4FCF</color>
SVG fillfill="#5A4FCF"

More Blue Colors

Iris sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#5A4FCF Frequently Asked Questions

What is the hex code for Iris?

The hex code for Iris is #5A4FCF. That is rgb(90, 79, 207) in RGB, hsl(245, 57%, 56%) in HSL, and approximately cmyk(57%, 62%, 0%, 19%) in CMYK.

What is the RGB value of #5A4FCF?

#5A4FCF is rgb(90, 79, 207) — red 90, green 79, and blue 207 on the 0-255 scale.

What is the CMYK value of #5A4FCF?

#5A4FCF converts to approximately cmyk(57%, 62%, 0%, 19%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #5A4FCF be black or white?

White text is the more readable choice. #5A4FCF scores 6.08:1 against white and 3.45:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #5A4FCF as a CSS color keyword?

No. #5A4FCF is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is slateblue (#6A5ACD) at a CIE76 distance of 9.02, which is clearly related but distinguishable side by side.

Open Iris in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.