#29196E#29196E
#29196E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.137 H 282.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #29196E |
|---|---|
| RGB | rgb(41, 25, 110) |
| HSL | hsl(251, 63%, 26%) |
| HSV | hsv(251, 77%, 43%) |
| CMYK | cmyk(62.7%, 77.3%, 0%, 56.9%) |
| CIE-LAB | lab(16.95, 32.98, -46.43) |
| CIE-LCH | lch(16.95, 56.95, 305.39°) |
| OKLab | oklab(29.86% 0.0305 -0.1338) |
| OKLCH | oklch(29.86% 0.137 282.9) |
| XYZ | xyz(4.0757, 2.2922, 14.9765) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Dark Royal Blue
#02066F
ΔE00 4.97
Darkblue (survey)
#030764
ΔE00 5.02
Dark Indigo
#1F0954
ΔE00 5.16
Deep Blue
#040273
ΔE00 5.46
Indigo (survey)
#380282
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29196E #5E6E19
analogous
#19346E #29196E #54196E
triadic
#29196E #6E2919 #196E29
tetradic
#29196E #6E1934 #5E6E19 #196E54
square
#29196E #6E1934 #5E6E19 #196E54
split-complementary
#29196E #6E5419 #346E19
monochromatic
#090619 #160E3C #29196E #3C24A0 #4F31D0
Accessibility & contrast
On white
14.40
#29196E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#29196E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29196E
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29196E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29196E | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #29196e; /* rgb */ color: rgb(41, 25, 110); /* oklch */ color: oklch(29.9% 0.137 282.9);
Tailwind
colors: {
custom: {
50: '#6c5898',
500: '#29196e',
950: '#000000',
},
}SCSS
$custom: #29196e; $custom-light: #6c5898; $custom-dark: #000000;
JSON
{
"hex": "#29196e",
"rgb": {
"r": 41,
"g": 25,
"b": 110
},
"hsl": {
"h": 251.294,
"s": 62.963,
"l": 26.471
},
"oklch": {
"l": 0.29856,
"c": 0.13725,
"h": 282.9
},
"luminance": 0.02292
}Semantic roles & 50–950 ramp
primary
#29196E
secondary
#91A33F
accent
#E642C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E