#260C3F#260C3F
#260C3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.092 H 303.0°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).
Color values
| HEX | #260C3F |
|---|---|
| RGB | rgb(38, 12, 63) |
| HSL | hsl(271, 68%, 15%) |
| HSV | hsv(271, 81%, 25%) |
| CMYK | cmyk(39.7%, 81%, 0%, 75.3%) |
| CIE-LAB | lab(9.27, 25.03, -27.11) |
| CIE-LCH | lch(9.27, 36.90, 312.72°) |
| OKLab | oklab(22.9% 0.0501 -0.0772) |
| OKLCH | oklch(22.9% 0.092 303) |
| XYZ | xyz(1.8278, 1.0339, 4.8049) |
| Luminance | 0.0103 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.27
Very Dark Purple
#2A0134
ΔE00 4.12
Dark Purple
#35063E
ΔE00 4.46
Dark Violet
#34013F
ΔE00 4.61
Deep Purple
#36013F
ΔE00 5.02
Dark Indigo
#1F0954
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#260C3F #253F0C
analogous
#0C0C3F #260C3F #3F0C3F
triadic
#260C3F #3F260C #0C3F26
tetradic
#260C3F #3F0C0C #253F0C #0C3F3F
square
#260C3F #3F0C0C #253F0C #0C3F3F
split-complementary
#260C3F #3F3F0C #0C3F0C
monochromatic
#10051A #10051A #260C3F #451672 #6420A6
Accessibility & contrast
On white
17.40
#260C3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#260C3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #260C3F
17.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##260C3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##260C3F | 1.00 | 17.40 | 1.21 | 17.40 |
| #FFFFFF | 17.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#211824
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #260c3f; /* rgb */ color: rgb(38, 12, 63); /* oklch */ color: oklch(22.9% 0.092 303.0);
Tailwind
colors: {
custom: {
50: '#634d74',
500: '#260c3f',
950: '#000000',
},
}SCSS
$custom: #260c3f; $custom-light: #634d74; $custom-dark: #000000;
JSON
{
"hex": "#260c3f",
"rgb": {
"r": 38,
"g": 12,
"b": 63
},
"hsl": {
"h": 270.588,
"s": 68,
"l": 14.706
},
"oklch": {
"l": 0.22898,
"c": 0.09203,
"h": 303
},
"luminance": 0.01034
}Semantic roles & 50–950 ramp
primary
#260C3F
secondary
#537B2C
accent
#EB3D92
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B