#1A0F4E#1A0F4E
#1A0F4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.108 H 282.1°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1A0F4E |
|---|---|
| RGB | rgb(26, 15, 78) |
| HSL | hsl(250, 68%, 18%) |
| HSV | hsv(250, 81%, 31%) |
| CMYK | cmyk(66.7%, 80.8%, 0%, 69.4%) |
| CIE-LAB | lab(9.89, 25.80, -36.68) |
| CIE-LCH | lch(9.89, 44.85, 305.13°) |
| OKLab | oklab(23.45% 0.0227 -0.1058) |
| OKLCH | oklch(23.45% 0.108 282.1) |
| XYZ | xyz(1.9715, 1.1112, 7.3168) |
| Luminance | 0.0111 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.42
Night Blue
#040348
ΔE00 3.37
Navy Blue (survey)
#001146
ΔE00 4.46
Dark Blue
#00035B
ΔE00 4.98
Darkblue (survey)
#030764
ΔE00 5.40
Midnight Blue (survey)
#020035
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A0F4E #434E0F
analogous
#0F234E #1A0F4E #390F4E
triadic
#1A0F4E #4E1A0F #0F4E1A
tetradic
#1A0F4E #4E0F23 #434E0F #0F4E39
square
#1A0F4E #4E0F23 #434E0F #0F4E39
split-complementary
#1A0F4E #4E390F #234E0F
monochromatic
#09051A #09051B #1A0F4E #2B1981 #3C23B5
Accessibility & contrast
On white
17.18
#1A0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.22
#1A0F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A0F4E
17.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A0F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A0F4E | 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)
#001D50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #1a0f4e; /* rgb */ color: rgb(26, 15, 78); /* oklch */ color: oklch(23.4% 0.108 282.1);
Tailwind
colors: {
custom: {
50: '#5e4f80',
500: '#1a0f4e',
950: '#000000',
},
}SCSS
$custom: #1a0f4e; $custom-light: #5e4f80; $custom-dark: #000000;
JSON
{
"hex": "#1a0f4e",
"rgb": {
"r": 26,
"g": 15,
"b": 78
},
"hsl": {
"h": 250.476,
"s": 67.742,
"l": 18.235
},
"oklch": {
"l": 0.23447,
"c": 0.10816,
"h": 282.1
},
"luminance": 0.01111
}Semantic roles & 50–950 ramp
primary
#1A0F4E
secondary
#798831
accent
#EB3DCC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C