#29176E#29176E
#29176E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.139 H 283.3°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #29176E |
|---|---|
| RGB | rgb(41, 23, 110) |
| HSL | hsl(252, 65%, 26%) |
| HSV | hsv(252, 79%, 43%) |
| CMYK | cmyk(62.7%, 79.1%, 0%, 56.9%) |
| CIE-LAB | lab(16.55, 34.11, -47.09) |
| CIE-LCH | lch(16.55, 58.14, 305.92°) |
| OKLab | oklab(29.57% 0.0321 -0.1357) |
| OKLCH | oklch(29.57% 0.139 283.3) |
| XYZ | xyz(4.0344, 2.2097, 14.9628) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.39
Dark Royal Blue
#02066F
ΔE00 4.63
Darkblue (survey)
#030764
ΔE00 4.73
Dark Indigo
#1F0954
ΔE00 4.94
Deep Blue
#040273
ΔE00 5.08
Indigo (survey)
#380282
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29176E #5C6E17
analogous
#17306E #29176E #54176E
triadic
#29176E #6E2917 #176E29
tetradic
#29176E #6E1730 #5C6E17 #176E54
square
#29176E #6E1730 #5C6E17 #176E54
split-complementary
#29176E #6E5417 #306E17
monochromatic
#090519 #160C3B #29176E #3C22A1 #4F2CD3
Accessibility & contrast
On white
14.56
#29176E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#29176E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29176E
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29176E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29176E | 1.00 | 14.56 | 1.44 | 14.56 |
| #FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #29176e; /* rgb */ color: rgb(41, 23, 110); /* oklch */ color: oklch(29.6% 0.139 283.3);
Tailwind
colors: {
custom: {
50: '#6c5699',
500: '#29176e',
950: '#000000',
},
}SCSS
$custom: #29176e; $custom-light: #6c5699; $custom-dark: #000000;
JSON
{
"hex": "#29176e",
"rgb": {
"r": 41,
"g": 23,
"b": 110
},
"hsl": {
"h": 252.414,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.29574,
"c": 0.13946,
"h": 283.3
},
"luminance": 0.0221
}Semantic roles & 50–950 ramp
primary
#29176E
secondary
#8FA43D
accent
#E83FC5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E