#29126F#29126F
#29126F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.146 H 284.0°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).
Color values
| HEX | #29126F |
|---|---|
| RGB | rgb(41, 18, 111) |
| HSL | hsl(255, 72%, 25%) |
| HSV | hsv(255, 84%, 44%) |
| CMYK | cmyk(63.1%, 83.8%, 0%, 56.5%) |
| CIE-LAB | lab(15.76, 37.03, -49.05) |
| CIE-LCH | lch(15.76, 61.46, 307.05°) |
| OKLab | oklab(29.05% 0.0352 -0.1414) |
| OKLCH | oklch(29.05% 0.146 284) |
| XYZ | xyz(3.9991, 2.0515, 15.2211) |
| Luminance | 0.0205 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 3.01
Dark Royal Blue
#02066F
ΔE00 3.95
Indigo (survey)
#380282
ΔE00 4.22
Deep Blue
#040273
ΔE00 4.24
Darkblue (survey)
#030764
ΔE00 4.25
Dark Indigo
#1F0954
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#29126F #586F12
analogous
#12296F #29126F #58126F
triadic
#29126F #6F2912 #126F29
tetradic
#29126F #6F1229 #586F12 #126F58
square
#29126F #6F1229 #586F12 #126F58
split-complementary
#29126F #6F5812 #296F12
monochromatic
#0A041A #16093A #29126F #3C1BA4 #5023D8
Accessibility & contrast
On white
14.89
#29126F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#29126F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #29126F
14.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##29126F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##29126F | 1.00 | 14.89 | 1.41 | 14.89 |
| #FFFFFF | 14.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #29126f; /* rgb */ color: rgb(41, 18, 111); /* oklch */ color: oklch(29.1% 0.146 284.0);
Tailwind
colors: {
custom: {
50: '#6d5499',
500: '#29126f',
950: '#000000',
},
}SCSS
$custom: #29126f; $custom-light: #6d5499; $custom-dark: #000000;
JSON
{
"hex": "#29126f",
"rgb": {
"r": 41,
"g": 18,
"b": 111
},
"hsl": {
"h": 254.839,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.29051,
"c": 0.14572,
"h": 284
},
"luminance": 0.02052
}Semantic roles & 50–950 ramp
primary
#29126F
secondary
#8BA637
accent
#EF39C2
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E