#29186E#29186E
#29186E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.138 H 283.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #29186E |
|---|---|
| RGB | rgb(41, 24, 110) |
| HSL | hsl(252, 64%, 26%) |
| HSV | hsv(252, 78%, 43%) |
| CMYK | cmyk(62.7%, 78.2%, 0%, 56.9%) |
| CIE-LAB | lab(16.75, 33.55, -46.76) |
| CIE-LCH | lch(16.75, 57.55, 305.66°) |
| OKLab | oklab(29.71% 0.0313 -0.1348) |
| OKLCH | oklch(29.71% 0.138 283.1) |
| XYZ | xyz(4.0547, 2.2502, 14.9695) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.31
Dark Royal Blue
#02066F
ΔE00 4.79
Darkblue (survey)
#030764
ΔE00 4.87
Dark Indigo
#1F0954
ΔE00 5.04
Deep Blue
#040273
ΔE00 5.26
Indigo (survey)
#380282
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29186E #5D6E18
analogous
#18326E #29186E #54186E
triadic
#29186E #6E2918 #186E29
tetradic
#29186E #6E1832 #5D6E18 #186E54
square
#29186E #6E1832 #5D6E18 #186E54
split-complementary
#29186E #6E5418 #326E18
monochromatic
#090519 #160D3C #29186E #3C23A0 #4F2FD2
Accessibility & contrast
On white
14.48
#29186E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#29186E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29186E
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29186E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29186E | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #29186e; /* rgb */ color: rgb(41, 24, 110); /* oklch */ color: oklch(29.7% 0.138 283.1);
Tailwind
colors: {
custom: {
50: '#6c5799',
500: '#29186e',
950: '#000000',
},
}SCSS
$custom: #29186e; $custom-light: #6c5799; $custom-dark: #000000;
JSON
{
"hex": "#29186e",
"rgb": {
"r": 41,
"g": 24,
"b": 110
},
"hsl": {
"h": 251.86,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.29713,
"c": 0.13837,
"h": 283.1
},
"luminance": 0.0225
}Semantic roles & 50–950 ramp
primary
#29186E
secondary
#90A43E
accent
#E741C6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E