#260F5D#260F5D
#260F5D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.4% C 0.127 H 287.7°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).
Color values
| HEX | #260F5D |
|---|---|
| RGB | rgb(38, 15, 93) |
| HSL | hsl(258, 72%, 21%) |
| HSV | hsv(258, 84%, 36%) |
| CMYK | cmyk(59.1%, 83.9%, 0%, 63.5%) |
| CIE-LAB | lab(12.88, 32.55, -41.90) |
| CIE-LCH | lch(12.88, 53.06, 307.84°) |
| OKLab | oklab(26.37% 0.0384 -0.1206) |
| OKLCH | oklch(26.37% 0.127 287.7) |
| XYZ | xyz(2.9454, 1.5439, 10.4966) |
| Luminance | 0.0154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.89
Darkblue (survey)
#030764
ΔE00 4.29
Dark Blue
#00035B
ΔE00 4.57
Midnight Blue
#191970
ΔE00 4.60
Dark Royal Blue
#02066F
ΔE00 5.15
Night Blue
#040348
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#260F5D #465D0F
analogous
#0F1F5D #260F5D #4D0F5D
triadic
#260F5D #5D260F #0F5D26
tetradic
#260F5D #5D0F1F #465D0F #0F5D4D
square
#260F5D #5D0F1F #465D0F #0F5D4D
split-complementary
#260F5D #5D4D0F #1F5D0F
monochromatic
#0B041A #100628 #260F5D #3C1792 #5120C6
Accessibility & contrast
On white
16.05
#260F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#260F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #260F5D
16.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##260F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##260F5D | 1.00 | 16.05 | 1.31 | 16.05 |
| #FFFFFF | 16.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#0E2636
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #260f5d; /* rgb */ color: rgb(38, 15, 93); /* oklch */ color: oklch(26.4% 0.127 287.7);
Tailwind
colors: {
custom: {
50: '#68518c',
500: '#260f5d',
950: '#000000',
},
}SCSS
$custom: #260f5d; $custom-light: #68518c; $custom-dark: #000000;
JSON
{
"hex": "#260f5d",
"rgb": {
"r": 38,
"g": 15,
"b": 93
},
"hsl": {
"h": 257.692,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.26373,
"c": 0.12658,
"h": 287.7
},
"luminance": 0.01544
}Semantic roles & 50–950 ramp
primary
#260F5D
secondary
#799631
accent
#EF39B9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D