#260F3F#260F3F
#260F3F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.087 H 302.0°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).
Color values
| HEX | #260F3F |
|---|---|
| RGB | rgb(38, 15, 63) |
| HSL | hsl(269, 62%, 15%) |
| HSV | hsv(269, 76%, 25%) |
| CMYK | cmyk(39.7%, 76.2%, 0%, 75.3%) |
| CIE-LAB | lab(9.90, 23.29, -26.09) |
| CIE-LCH | lch(9.90, 34.97, 311.75°) |
| OKLab | oklab(23.34% 0.0463 -0.0742) |
| OKLCH | oklch(23.34% 0.087 302) |
| XYZ | xyz(1.8671, 1.1126, 4.8180) |
| Luminance | 0.0111 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.96
Very Dark Purple
#2A0134
ΔE00 4.64
Dark Purple
#35063E
ΔE00 4.89
Dark Violet
#34013F
ΔE00 5.23
Deep Purple
#36013F
ΔE00 5.60
Dark Indigo
#1F0954
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#260F3F #283F0F
analogous
#0F103F #260F3F #3E0F3F
triadic
#260F3F #3F260F #0F3F26
tetradic
#260F3F #3F0F10 #283F0F #0F3F3E
square
#260F3F #3F0F10 #283F0F #0F3F3E
split-complementary
#260F3F #3F3E0F #103F0F
monochromatic
#0F0619 #0F0619 #260F3F #441B70 #6227A2
Accessibility & contrast
On white
17.18
#260F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.22
#260F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #260F3F
17.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##260F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##260F3F | 1.00 | 17.18 | 1.22 | 17.18 |
| #FFFFFF | 17.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#211A25
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #260f3f; /* rgb */ color: rgb(38, 15, 63); /* oklch */ color: oklch(23.3% 0.087 302.0);
Tailwind
colors: {
custom: {
50: '#634f74',
500: '#260f3f',
950: '#000000',
},
}SCSS
$custom: #260f3f; $custom-light: #634f74; $custom-dark: #000000;
JSON
{
"hex": "#260f3f",
"rgb": {
"r": 38,
"g": 15,
"b": 63
},
"hsl": {
"h": 268.75,
"s": 61.538,
"l": 15.294
},
"oklch": {
"l": 0.23344,
"c": 0.08748,
"h": 302
},
"luminance": 0.01113
}Semantic roles & 50–950 ramp
primary
#260F3F
secondary
#567930
accent
#E54397
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B