#260F4A#260F4A
#260F4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.102 H 295.6°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).
Color values
| HEX | #260F4A |
|---|---|
| RGB | rgb(38, 15, 74) |
| HSL | hsl(263, 66%, 17%) |
| HSV | hsv(263, 80%, 29%) |
| CMYK | cmyk(48.6%, 79.7%, 0%, 71%) |
| CIE-LAB | lab(10.91, 26.64, -32.18) |
| CIE-LCH | lch(10.91, 41.78, 309.62°) |
| OKLab | oklab(24.38% 0.0442 -0.0921) |
| OKLCH | oklch(24.38% 0.102 295.6) |
| XYZ | xyz(2.2059, 1.2481, 6.6019) |
| Luminance | 0.0125 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.45
Midnight Purple
#280137
ΔE00 5.32
Night Blue
#040348
ΔE00 5.59
Dark Violet
#34013F
ΔE00 5.98
Dark Purple
#35063E
ΔE00 6.11
Very Dark Purple
#2A0134
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#260F4A #334A0F
analogous
#0F154A #260F4A #440F4A
triadic
#260F4A #4A260F #0F4A26
tetradic
#260F4A #4A0F15 #334A0F #0F4A44
square
#260F4A #4A0F15 #334A0F #0F4A44
split-complementary
#260F4A #4A440F #154A0F
monochromatic
#0D0519 #0D0519 #260F4A #40197D #5A24B0
Accessibility & contrast
On white
16.81
#260F4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.25
#260F4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #260F4A
16.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##260F4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##260F4A | 1.00 | 16.81 | 1.25 | 16.81 |
| #FFFFFF | 16.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#1C1E2B
Achromatopsia (no color)
#1D1D1D
Design tokens & code
CSS
--color: #260f4a; /* rgb */ color: rgb(38, 15, 74); /* oklch */ color: oklch(24.4% 0.102 295.6);
Tailwind
colors: {
custom: {
50: '#654f7d',
500: '#260f4a',
950: '#000000',
},
}SCSS
$custom: #260f4a; $custom-light: #654f7d; $custom-dark: #000000;
JSON
{
"hex": "#260f4a",
"rgb": {
"r": 38,
"g": 15,
"b": 74
},
"hsl": {
"h": 263.39,
"s": 66.292,
"l": 17.451
},
"oklch": {
"l": 0.24382,
"c": 0.10214,
"h": 295.6
},
"luminance": 0.01248
}Semantic roles & 50–950 ramp
primary
#260F4A
secondary
#648430
accent
#E93FA7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C