#291180#291180
#291180 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.9% C 0.167 H 280.2°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #291180 |
|---|---|
| RGB | rgb(41, 17, 128) |
| HSL | hsl(253, 77%, 28%) |
| HSV | hsv(253, 87%, 50%) |
| CMYK | cmyk(68%, 86.7%, 0%, 49.8%) |
| CIE-LAB | lab(17.60, 42.64, -56.93) |
| CIE-LCH | lch(17.60, 71.12, 306.83°) |
| OKLab | oklab(30.91% 0.0297 -0.1643) |
| OKLCH | oklch(30.91% 0.167 280.2) |
| XYZ | xyz(5.0099, 2.4304, 20.6230) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.82
Royal
#0C1793
ΔE00 3.67
Darkblue
#00008B
ΔE00 3.75
Navy
#000080
ΔE00 3.77
Midnight Blue
#191970
ΔE00 3.98
Deep Blue
#040273
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#291180 #688011
analogous
#113080 #291180 #601180
triadic
#291180 #802911 #118029
tetradic
#291180 #801130 #688011 #118060
square
#291180 #801130 #688011 #118060
split-complementary
#291180 #806011 #308011
monochromatic
#09041B #180A4A #291180 #3A18B6 #5129E3
Accessibility & contrast
On white
14.13
#291180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#291180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #291180
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##291180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##291180 | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #291180; /* rgb */ color: rgb(41, 17, 128); /* oklch */ color: oklch(30.9% 0.167 280.2);
Tailwind
colors: {
custom: {
50: '#7155a6',
500: '#291180',
950: '#000000',
},
}SCSS
$custom: #291180; $custom-light: #7155a6; $custom-dark: #000000;
JSON
{
"hex": "#291180",
"rgb": {
"r": 41,
"g": 17,
"b": 128
},
"hsl": {
"h": 252.973,
"s": 76.552,
"l": 28.431
},
"oklch": {
"l": 0.30912,
"c": 0.16697,
"h": 280.2
},
"luminance": 0.02431
}Semantic roles & 50–950 ramp
primary
#291180
secondary
#9AB637
accent
#F335CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F