#1B0C4D#1B0C4D
#1B0C4D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.110 H 284.2°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0C4D |
|---|---|
| RGB | rgb(27, 12, 77) |
| HSL | hsl(254, 73%, 17%) |
| HSV | hsv(254, 84%, 30%) |
| CMYK | cmyk(64.9%, 84.4%, 0%, 69.8%) |
| CIE-LAB | lab(9.25, 27.39, -37.03) |
| CIE-LCH | lch(9.25, 46.05, 306.49°) |
| OKLab | oklab(22.99% 0.0271 -0.1067) |
| OKLCH | oklch(22.99% 0.11 284.2) |
| XYZ | xyz(1.9226, 1.0317, 7.1176) |
| Luminance | 0.0103 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.84
Night Blue
#040348
ΔE00 3.19
Dark Blue
#00035B
ΔE00 4.73
Navy Blue (survey)
#001146
ΔE00 5.12
Darkblue (survey)
#030764
ΔE00 5.32
Midnight Blue (survey)
#020035
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0C4D #3E4D0C
analogous
#0C1E4D #1B0C4D #3B0C4D
triadic
#1B0C4D #4D1B0C #0C4D1B
tetradic
#1B0C4D #4D0C1E #3E4D0C #0C4D3B
square
#1B0C4D #4D0C1E #3E4D0C #0C4D3B
split-complementary
#1B0C4D #4D3B0C #1E4D0C
monochromatic
#09041A #09041A #1B0C4D #2E1482 #401DB7
Accessibility & contrast
On white
17.41
#1B0C4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#1B0C4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0C4D
17.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0C4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0C4D | 1.00 | 17.41 | 1.21 | 17.41 |
| #FFFFFF | 17.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#011F2C
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #1b0c4d; /* rgb */ color: rgb(27, 12, 77); /* oklch */ color: oklch(23.0% 0.110 284.2);
Tailwind
colors: {
custom: {
50: '#5f4d80',
500: '#1b0c4d',
950: '#000000',
},
}SCSS
$custom: #1b0c4d; $custom-light: #5f4d80; $custom-dark: #000000;
JSON
{
"hex": "#1b0c4d",
"rgb": {
"r": 27,
"g": 12,
"b": 77
},
"hsl": {
"h": 253.846,
"s": 73.034,
"l": 17.451
},
"oklch": {
"l": 0.22994,
"c": 0.11009,
"h": 284.2
},
"luminance": 0.01032
}Semantic roles & 50–950 ramp
primary
#1B0C4D
secondary
#73892C
accent
#F038C5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C