#260B42#260B42
#260B42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.097 H 301.4°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).
Color values
| HEX | #260B42 |
|---|---|
| RGB | rgb(38, 11, 66) |
| HSL | hsl(269, 71%, 15%) |
| HSV | hsv(269, 83%, 26%) |
| CMYK | cmyk(42.4%, 83.3%, 0%, 74.1%) |
| CIE-LAB | lab(9.36, 26.45, -29.09) |
| CIE-LCH | lch(9.36, 39.32, 312.27°) |
| OKLab | oklab(23.05% 0.0506 -0.083) |
| OKLCH | oklch(23.05% 0.097 301.4) |
| XYZ | xyz(1.9021, 1.0447, 5.2546) |
| Luminance | 0.0104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.51
Very Dark Purple
#2A0134
ΔE00 4.52
Dark Violet
#34013F
ΔE00 4.63
Dark Purple
#35063E
ΔE00 4.70
Dark Indigo
#1F0954
ΔE00 4.89
Deep Purple
#36013F
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#260B42 #27420B
analogous
#0B0B42 #260B42 #420B42
triadic
#260B42 #42260B #0B4226
tetradic
#260B42 #420B0B #27420B #0B4242
square
#260B42 #420B0B #27420B #0B4242
split-complementary
#260B42 #42420B #0B420B
monochromatic
#0F041A #0F041A #260B42 #441476 #621CAB
Accessibility & contrast
On white
17.37
#260B42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#260B42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #260B42
17.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##260B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##260B42 | 1.00 | 17.37 | 1.21 | 17.37 |
| #FFFFFF | 17.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#201926
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #260b42; /* rgb */ color: rgb(38, 11, 66); /* oklch */ color: oklch(23.0% 0.097 301.4);
Tailwind
colors: {
custom: {
50: '#644d77',
500: '#260b42',
950: '#000000',
},
}SCSS
$custom: #260b42; $custom-light: #644d77; $custom-dark: #000000;
JSON
{
"hex": "#260b42",
"rgb": {
"r": 38,
"g": 11,
"b": 66
},
"hsl": {
"h": 269.455,
"s": 71.429,
"l": 15.098
},
"oklch": {
"l": 0.23048,
"c": 0.09722,
"h": 301.4
},
"luminance": 0.01045
}Semantic roles & 50–950 ramp
primary
#260B42
secondary
#557F2A
accent
#EE3A96
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B