#260F5F#260F5F
#260F5F is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.129 H 287.0°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).
Color values
| HEX | #260F5F |
|---|---|
| RGB | rgb(38, 15, 95) |
| HSL | hsl(257, 73%, 22%) |
| HSV | hsv(257, 84%, 37%) |
| CMYK | cmyk(60%, 84.2%, 0%, 62.7%) |
| CIE-LAB | lab(13.11, 33.17, -42.88) |
| CIE-LCH | lch(13.11, 54.21, 307.72°) |
| OKLab | oklab(26.6% 0.0378 -0.1234) |
| OKLCH | oklch(26.6% 0.129 287) |
| XYZ | xyz(3.0351, 1.5798, 10.9693) |
| Luminance | 0.0158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.15
Darkblue (survey)
#030764
ΔE00 4.08
Midnight Blue
#191970
ΔE00 4.33
Dark Blue
#00035B
ΔE00 4.48
Dark Royal Blue
#02066F
ΔE00 4.85
Deep Blue
#040273
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#260F5F #485F0F
analogous
#0F205F #260F5F #4E0F5F
triadic
#260F5F #5F260F #0F5F26
tetradic
#260F5F #5F0F20 #485F0F #0F5F4E
square
#260F5F #5F0F20 #485F0F #0F5F4E
split-complementary
#260F5F #5F4E0F #205F0F
monochromatic
#0B041A #11072A #260F5F #3B1794 #5020C9
Accessibility & contrast
On white
15.96
#260F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#260F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #260F5F
15.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##260F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##260F5F | 1.00 | 15.96 | 1.32 | 15.96 |
| #FFFFFF | 15.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#0C2637
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #260f5f; /* rgb */ color: rgb(38, 15, 95); /* oklch */ color: oklch(26.6% 0.129 287.0);
Tailwind
colors: {
custom: {
50: '#69518d',
500: '#260f5f',
950: '#000000',
},
}SCSS
$custom: #260f5f; $custom-light: #69518d; $custom-dark: #000000;
JSON
{
"hex": "#260f5f",
"rgb": {
"r": 38,
"g": 15,
"b": 95
},
"hsl": {
"h": 257.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.26595,
"c": 0.12908,
"h": 287
},
"luminance": 0.0158
}Semantic roles & 50–950 ramp
primary
#260F5F
secondary
#7B9832
accent
#EF38BB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D