#1A0D4C#1A0D4C
#1A0D4C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.108 H 283.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1A0D4C |
|---|---|
| RGB | rgb(26, 13, 76) |
| HSL | hsl(252, 71%, 17%) |
| HSV | hsv(252, 83%, 30%) |
| CMYK | cmyk(65.8%, 82.9%, 0%, 70.2%) |
| CIE-LAB | lab(9.23, 26.32, -36.37) |
| CIE-LCH | lch(9.23, 44.90, 305.89°) |
| OKLab | oklab(22.92% 0.0249 -0.1048) |
| OKLCH | oklch(22.92% 0.108 283.3) |
| XYZ | xyz(1.8740, 1.0291, 6.9360) |
| Luminance | 0.0103 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.26
Night Blue
#040348
ΔE00 3.17
Navy Blue (survey)
#001146
ΔE00 4.74
Dark Blue
#00035B
ΔE00 4.97
Darkblue (survey)
#030764
ΔE00 5.55
Midnight Blue (survey)
#020035
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A0D4C #3F4C0D
analogous
#0D1F4C #1A0D4C #3A0D4C
triadic
#1A0D4C #4C1A0D #0D4C1A
tetradic
#1A0D4C #4C0D1F #3F4C0D #0D4C3A
square
#1A0D4C #4C0D1F #3F4C0D #0D4C3A
split-complementary
#1A0D4C #4C3A0D #1F4C0D
monochromatic
#09041A #09041A #1A0D4C #2C1680 #3E1FB5
Accessibility & contrast
On white
17.42
#1A0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#1A0D4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A0D4C
17.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A0D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A0D4C | 1.00 | 17.42 | 1.21 | 17.42 |
| #FFFFFF | 17.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #1a0d4c; /* rgb */ color: rgb(26, 13, 76); /* oklch */ color: oklch(22.9% 0.108 283.3);
Tailwind
colors: {
custom: {
50: '#5e4d7f',
500: '#1a0d4c',
950: '#000000',
},
}SCSS
$custom: #1a0d4c; $custom-light: #5e4d7f; $custom-dark: #000000;
JSON
{
"hex": "#1a0d4c",
"rgb": {
"r": 26,
"g": 13,
"b": 76
},
"hsl": {
"h": 252.381,
"s": 70.787,
"l": 17.451
},
"oklch": {
"l": 0.22918,
"c": 0.10774,
"h": 283.3
},
"luminance": 0.01029
}Semantic roles & 50–950 ramp
primary
#1A0D4C
secondary
#75872E
accent
#EE3AC9
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C