#1B0D4F#1B0D4F
#1B0D4F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.112 H 283.3°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0D4F |
|---|---|
| RGB | rgb(27, 13, 79) |
| HSL | hsl(253, 72%, 18%) |
| HSV | hsv(253, 84%, 31%) |
| CMYK | cmyk(65.8%, 83.5%, 0%, 69%) |
| CIE-LAB | lab(9.68, 27.50, -37.70) |
| CIE-LCH | lch(9.68, 46.66, 306.10°) |
| OKLab | oklab(23.36% 0.0257 -0.1087) |
| OKLCH | oklch(23.36% 0.112 283.3) |
| XYZ | xyz(2.0068, 1.0852, 7.4993) |
| Luminance | 0.0109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.72
Night Blue
#040348
ΔE00 3.24
Dark Blue
#00035B
ΔE00 4.54
Darkblue (survey)
#030764
ΔE00 5.03
Navy Blue (survey)
#001146
ΔE00 5.04
Midnight Blue
#191970
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0D4F #414F0D
analogous
#0D204F #1B0D4F #3C0D4F
triadic
#1B0D4F #4F1B0D #0D4F1B
tetradic
#1B0D4F #4F0D20 #414F0D #0D4F3C
square
#1B0D4F #4F0D20 #414F0D #0D4F3C
split-complementary
#1B0D4F #4F3C0D #204F0D
monochromatic
#09041A #09041A #1B0D4F #2D1684 #3F1EB8
Accessibility & contrast
On white
17.26
#1B0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.22
#1B0D4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0D4F
17.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0D4F | 1.00 | 17.26 | 1.22 | 17.26 |
| #FFFFFF | 17.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00194E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1B1B1B
Design tokens & code
CSS
--color: #1b0d4f; /* rgb */ color: rgb(27, 13, 79); /* oklch */ color: oklch(23.4% 0.112 283.3);
Tailwind
colors: {
custom: {
50: '#5f4d81',
500: '#1b0d4f',
950: '#000000',
},
}SCSS
$custom: #1b0d4f; $custom-light: #5f4d81; $custom-dark: #000000;
JSON
{
"hex": "#1b0d4f",
"rgb": {
"r": 27,
"g": 13,
"b": 79
},
"hsl": {
"h": 252.727,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.23364,
"c": 0.11168,
"h": 283.3
},
"luminance": 0.01085
}Semantic roles & 50–950 ramp
primary
#1B0D4F
secondary
#768A2E
accent
#EE39C8
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C