#260F42#260F42
#260F42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.092 H 300.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).
Color values
| HEX | #260F42 |
|---|---|
| RGB | rgb(38, 15, 66) |
| HSL | hsl(267, 63%, 16%) |
| HSV | hsv(267, 77%, 26%) |
| CMYK | cmyk(42.4%, 77.3%, 0%, 74.1%) |
| CIE-LAB | lab(10.16, 24.20, -27.79) |
| CIE-LCH | lch(10.16, 36.85, 311.04°) |
| OKLab | oklab(23.62% 0.0458 -0.0792) |
| OKLCH | oklch(23.62% 0.092 300.1) |
| XYZ | xyz(1.9533, 1.1470, 5.2717) |
| Luminance | 0.0115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 4.20
Very Dark Purple
#2A0134
ΔE00 5.03
Dark Purple
#35063E
ΔE00 5.12
Dark Violet
#34013F
ΔE00 5.31
Dark Indigo
#1F0954
ΔE00 5.38
Deep Purple
#36013F
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#260F42 #2B420F
analogous
#0F1142 #260F42 #3F0F42
triadic
#260F42 #42260F #0F4226
tetradic
#260F42 #420F11 #2B420F #0F423F
square
#260F42 #420F11 #2B420F #0F423F
split-complementary
#260F42 #423F0F #11420F
monochromatic
#0E0619 #0E0619 #260F42 #431A74 #5F26A6
Accessibility & contrast
On white
17.08
#260F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#260F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #260F42
17.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##260F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##260F42 | 1.00 | 17.08 | 1.23 | 17.08 |
| #FFFFFF | 17.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#001B41
Tritanopia (blue-blind)
#201B27
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #260f42; /* rgb */ color: rgb(38, 15, 66); /* oklch */ color: oklch(23.6% 0.092 300.1);
Tailwind
colors: {
custom: {
50: '#634f77',
500: '#260f42',
950: '#000000',
},
}SCSS
$custom: #260f42; $custom-light: #634f77; $custom-dark: #000000;
JSON
{
"hex": "#260f42",
"rgb": {
"r": 38,
"g": 15,
"b": 66
},
"hsl": {
"h": 267.059,
"s": 62.963,
"l": 15.882
},
"oklch": {
"l": 0.23617,
"c": 0.09151,
"h": 300.1
},
"luminance": 0.01147
}Semantic roles & 50–950 ramp
primary
#260F42
secondary
#5A7C30
accent
#E6429C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B