#29186F#29186F
#29186F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.140 H 282.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #29186F |
|---|---|
| RGB | rgb(41, 24, 111) |
| HSL | hsl(252, 64%, 26%) |
| HSV | hsv(252, 78%, 44%) |
| CMYK | cmyk(63.1%, 78.4%, 0%, 56.5%) |
| CIE-LAB | lab(16.85, 33.87, -47.24) |
| CIE-LCH | lch(16.85, 58.13, 305.64°) |
| OKLab | oklab(29.82% 0.0311 -0.1362) |
| OKLCH | oklch(29.82% 0.14 282.8) |
| XYZ | xyz(4.1094, 2.2721, 15.2579) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.27
Dark Royal Blue
#02066F
ΔE00 4.74
Darkblue (survey)
#030764
ΔE00 4.88
Indigo (survey)
#380282
ΔE00 5.16
Dark Indigo
#1F0954
ΔE00 5.18
Deep Blue
#040273
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29186F #5E6F18
analogous
#18336F #29186F #55186F
triadic
#29186F #6F2918 #186F29
tetradic
#29186F #6F1833 #5E6F18 #186F55
square
#29186F #6F1833 #5E6F18 #186F55
split-complementary
#29186F #6F5518 #336F18
monochromatic
#090519 #160D3D #29186F #3C23A1 #4F2FD2
Accessibility & contrast
On white
14.44
#29186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#29186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29186F
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29186F | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #29186f; /* rgb */ color: rgb(41, 24, 111); /* oklch */ color: oklch(29.8% 0.140 282.8);
Tailwind
colors: {
custom: {
50: '#6d5799',
500: '#29186f',
950: '#000000',
},
}SCSS
$custom: #29186f; $custom-light: #6d5799; $custom-dark: #000000;
JSON
{
"hex": "#29186f",
"rgb": {
"r": 41,
"g": 24,
"b": 111
},
"hsl": {
"h": 251.724,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.2982,
"c": 0.13967,
"h": 282.8
},
"luminance": 0.02272
}Semantic roles & 50–950 ramp
primary
#29186F
secondary
#91A53E
accent
#E740C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E