#1B0D4C#1B0D4C
#1B0D4C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.108 H 284.3°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0D4C |
|---|---|
| RGB | rgb(27, 13, 76) |
| HSL | hsl(253, 71%, 17%) |
| HSV | hsv(253, 83%, 30%) |
| CMYK | cmyk(64.5%, 82.9%, 0%, 70.2%) |
| CIE-LAB | lab(9.34, 26.47, -36.19) |
| CIE-LCH | lch(9.34, 44.84, 306.18°) |
| OKLab | oklab(23.02% 0.0266 -0.1043) |
| OKLCH | oklch(23.02% 0.108 284.3) |
| XYZ | xyz(1.9000, 1.0425, 6.9372) |
| Luminance | 0.0104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.21
Night Blue
#040348
ΔE00 3.31
Navy Blue (survey)
#001146
ΔE00 4.90
Dark Blue
#00035B
ΔE00 5.06
Darkblue (survey)
#030764
ΔE00 5.63
Midnight Blue (survey)
#020035
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0D4C #3E4C0D
analogous
#0D1F4C #1B0D4C #3A0D4C
triadic
#1B0D4C #4C1B0D #0D4C1B
tetradic
#1B0D4C #4C0D1F #3E4C0D #0D4C3A
square
#1B0D4C #4C0D1F #3E4C0D #0D4C3A
split-complementary
#1B0D4C #4C3A0D #1F4C0D
monochromatic
#09041A #09041A #1B0D4C #2E1680 #401FB5
Accessibility & contrast
On white
17.38
#1B0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#1B0D4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0D4C
17.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0D4C | 1.00 | 17.38 | 1.21 | 17.38 |
| #FFFFFF | 17.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#021F2C
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #1b0d4c; /* rgb */ color: rgb(27, 13, 76); /* oklch */ color: oklch(23.0% 0.108 284.3);
Tailwind
colors: {
custom: {
50: '#5f4d7f',
500: '#1b0d4c',
950: '#000000',
},
}SCSS
$custom: #1b0d4c; $custom-light: #5f4d7f; $custom-dark: #000000;
JSON
{
"hex": "#1b0d4c",
"rgb": {
"r": 27,
"g": 13,
"b": 76
},
"hsl": {
"h": 253.333,
"s": 70.787,
"l": 17.451
},
"oklch": {
"l": 0.23021,
"c": 0.10759,
"h": 284.3
},
"luminance": 0.01043
}Semantic roles & 50–950 ramp
primary
#1B0D4C
secondary
#73872E
accent
#EE3AC6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C