#29117F#29117F
#29117F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.166 H 280.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #29117F |
|---|---|
| RGB | rgb(41, 17, 127) |
| HSL | hsl(253, 76%, 28%) |
| HSV | hsv(253, 87%, 50%) |
| CMYK | cmyk(67.7%, 86.6%, 0%, 50.2%) |
| CIE-LAB | lab(17.48, 42.34, -56.49) |
| CIE-LCH | lch(17.48, 70.60, 306.85°) |
| OKLab | oklab(30.79% 0.03 -0.163) |
| OKLCH | oklch(30.79% 0.166 280.4) |
| XYZ | xyz(4.9445, 2.4042, 20.2781) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.84
Navy
#000080
ΔE00 3.78
Royal
#0C1793
ΔE00 3.79
Darkblue
#00008B
ΔE00 3.82
Midnight Blue
#191970
ΔE00 3.89
Deep Blue
#040273
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29117F #677F11
analogous
#11307F #29117F #60117F
triadic
#29117F #7F2911 #117F29
tetradic
#29117F #7F1130 #677F11 #117F60
square
#29117F #7F1130 #677F11 #117F60
split-complementary
#29117F #7F6011 #307F11
monochromatic
#09041B #180A49 #29117F #3A18B5 #5128E2
Accessibility & contrast
On white
14.18
#29117F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#29117F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29117F
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29117F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29117F | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #29117f; /* rgb */ color: rgb(41, 17, 127); /* oklch */ color: oklch(30.8% 0.166 280.4);
Tailwind
colors: {
custom: {
50: '#7155a5',
500: '#29117f',
950: '#000000',
},
}SCSS
$custom: #29117f; $custom-light: #7155a5; $custom-dark: #000000;
JSON
{
"hex": "#29117f",
"rgb": {
"r": 41,
"g": 17,
"b": 127
},
"hsl": {
"h": 253.091,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.30793,
"c": 0.16578,
"h": 280.4
},
"luminance": 0.02405
}Semantic roles & 50–950 ramp
primary
#29117F
secondary
#99B537
accent
#F335C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F