#260C42#260C42
#260C42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.096 H 301.1°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).
Color values
| HEX | #260C42 |
|---|---|
| RGB | rgb(38, 12, 66) |
| HSL | hsl(269, 69%, 15%) |
| HSV | hsv(269, 82%, 26%) |
| CMYK | cmyk(42.4%, 81.8%, 0%, 74.1%) |
| CIE-LAB | lab(9.55, 25.91, -28.79) |
| CIE-LCH | lch(9.55, 38.73, 311.99°) |
| OKLab | oklab(23.18% 0.0495 -0.0821) |
| OKLCH | oklch(23.18% 0.096 301.1) |
| XYZ | xyz(1.9139, 1.0683, 5.2586) |
| Luminance | 0.0107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.65
Very Dark Purple
#2A0134
ΔE00 4.62
Dark Violet
#34013F
ΔE00 4.78
Dark Purple
#35063E
ΔE00 4.78
Dark Indigo
#1F0954
ΔE00 4.99
Deep Purple
#36013F
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#260C42 #28420C
analogous
#0C0D42 #260C42 #410C42
triadic
#260C42 #42260C #0C4226
tetradic
#260C42 #420C0D #28420C #0C4241
square
#260C42 #420C0D #28420C #0C4241
split-complementary
#260C42 #42410C #0D420C
monochromatic
#0F051A #0F051A #260C42 #441576 #621FAA
Accessibility & contrast
On white
17.30
#260C42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#260C42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #260C42
17.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##260C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##260C42 | 1.00 | 17.30 | 1.21 | 17.30 |
| #FFFFFF | 17.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#201926
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #260c42; /* rgb */ color: rgb(38, 12, 66); /* oklch */ color: oklch(23.2% 0.096 301.1);
Tailwind
colors: {
custom: {
50: '#644d77',
500: '#260c42',
950: '#000000',
},
}SCSS
$custom: #260c42; $custom-light: #644d77; $custom-dark: #000000;
JSON
{
"hex": "#260c42",
"rgb": {
"r": 38,
"g": 12,
"b": 66
},
"hsl": {
"h": 268.889,
"s": 69.231,
"l": 15.294
},
"oklch": {
"l": 0.23182,
"c": 0.09586,
"h": 301.1
},
"luminance": 0.01068
}Semantic roles & 50–950 ramp
primary
#260C42
secondary
#567E2C
accent
#EC3C97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B