#1B0C5F#1B0C5F
#1B0C5F is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.1% C 0.134 H 279.0°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0C5F |
|---|---|
| RGB | rgb(27, 12, 95) |
| HSL | hsl(251, 78%, 21%) |
| HSV | hsv(251, 87%, 37%) |
| CMYK | cmyk(71.6%, 87.4%, 0%, 62.7%) |
| CIE-LAB | lab(11.43, 33.36, -45.69) |
| CIE-LCH | lch(11.43, 56.57, 306.13°) |
| OKLab | oklab(25.15% 0.0209 -0.1319) |
| OKLCH | oklch(25.15% 0.134 279) |
| XYZ | xyz(2.6484, 1.3220, 10.9399) |
| Luminance | 0.0132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.25
Darkblue (survey)
#030764
ΔE00 2.45
Dark Blue
#00035B
ΔE00 2.88
Dark Royal Blue
#02066F
ΔE00 3.55
Midnight Blue
#191970
ΔE00 3.91
Deep Blue
#040273
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0C5F #505F0C
analogous
#0C265F #1B0C5F #440C5F
triadic
#1B0C5F #5F1B0C #0C5F1B
tetradic
#1B0C5F #5F0C26 #505F0C #0C5F44
square
#1B0C5F #5F0C26 #505F0C #0C5F44
split-complementary
#1B0C5F #5F440C #265F0C
monochromatic
#08031B #0C0529 #1B0C5F #2A1395 #3A1ACC
Accessibility & contrast
On white
16.61
#1B0C5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.26
#1B0C5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0C5F
16.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0C5F | 1.00 | 16.61 | 1.26 | 16.61 |
| #FFFFFF | 16.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002161
Deuteranopia (green-blind)
#001B5E
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #1b0c5f; /* rgb */ color: rgb(27, 12, 95); /* oklch */ color: oklch(25.1% 0.134 279.0);
Tailwind
colors: {
custom: {
50: '#634e8d',
500: '#1b0c5f',
950: '#000000',
},
}SCSS
$custom: #1b0c5f; $custom-light: #634e8d; $custom-dark: #000000;
JSON
{
"hex": "#1b0c5f",
"rgb": {
"r": 27,
"g": 12,
"b": 95
},
"hsl": {
"h": 250.843,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.25149,
"c": 0.13359,
"h": 279
},
"luminance": 0.01322
}Semantic roles & 50–950 ramp
primary
#1B0C5F
secondary
#86992D
accent
#F434D1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D