#29156F#29156F
#29156F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.143 H 283.5°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #29156F |
|---|---|
| RGB | rgb(41, 21, 111) |
| HSL | hsl(253, 68%, 26%) |
| HSV | hsv(253, 81%, 44%) |
| CMYK | cmyk(63.1%, 81.1%, 0%, 56.5%) |
| CIE-LAB | lab(16.28, 35.51, -48.18) |
| CIE-LCH | lch(16.28, 59.85, 306.39°) |
| OKLab | oklab(29.42% 0.0332 -0.1389) |
| OKLCH | oklch(29.42% 0.143 283.5) |
| XYZ | xyz(4.0510, 2.1552, 15.2384) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.59
Dark Royal Blue
#02066F
ΔE00 4.29
Darkblue (survey)
#030764
ΔE00 4.51
Indigo (survey)
#380282
ΔE00 4.64
Deep Blue
#040273
ΔE00 4.67
Dark Indigo
#1F0954
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29156F #5B6F15
analogous
#152E6F #29156F #56156F
triadic
#29156F #6F2915 #156F29
tetradic
#29156F #6F152E #5B6F15 #156F56
square
#29156F #6F152E #5B6F15 #156F56
split-complementary
#29156F #6F5615 #2E6F15
monochromatic
#0A051A #160B3C #29156F #3C1FA2 #4F28D6
Accessibility & contrast
On white
14.68
#29156F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#29156F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29156F
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29156F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29156F | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #29156f; /* rgb */ color: rgb(41, 21, 111); /* oklch */ color: oklch(29.4% 0.143 283.5);
Tailwind
colors: {
custom: {
50: '#6d5599',
500: '#29156f',
950: '#000000',
},
}SCSS
$custom: #29156f; $custom-light: #6d5599; $custom-dark: #000000;
JSON
{
"hex": "#29156f",
"rgb": {
"r": 41,
"g": 21,
"b": 111
},
"hsl": {
"h": 253.333,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.29418,
"c": 0.14282,
"h": 283.5
},
"luminance": 0.02155
}Semantic roles & 50–950 ramp
primary
#29156F
secondary
#8EA53A
accent
#EB3DC4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E