#1D0C53#1D0C53
#1D0C53 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.118 H 284.0°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1D0C53 |
|---|---|
| RGB | rgb(29, 12, 83) |
| HSL | hsl(254, 75%, 19%) |
| HSV | hsv(254, 86%, 33%) |
| CMYK | cmyk(65.1%, 85.5%, 0%, 67.5%) |
| CIE-LAB | lab(10.17, 29.66, -39.64) |
| CIE-LCH | lch(10.17, 49.51, 306.81°) |
| OKLab | oklab(23.9% 0.0285 -0.1142) |
| OKLCH | oklch(23.9% 0.118 284) |
| XYZ | xyz(2.1990, 1.1485, 8.2877) |
| Luminance | 0.0115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 0.87
Night Blue
#040348
ΔE00 3.55
Dark Blue
#00035B
ΔE00 4.00
Darkblue (survey)
#030764
ΔE00 4.37
Midnight Blue
#191970
ΔE00 5.66
Navy Blue (survey)
#001146
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D0C53 #42530C
analogous
#0C1E53 #1D0C53 #400C53
triadic
#1D0C53 #531D0C #0C531D
tetradic
#1D0C53 #530C1E #42530C #0C5340
square
#1D0C53 #530C1E #42530C #0C5340
split-complementary
#1D0C53 #53400C #1E530C
monochromatic
#09041B #0A041E #1D0C53 #301488 #421BBE
Accessibility & contrast
On white
17.08
#1D0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.23
#1D0C53 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D0C53
17.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D0C53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D0C53 | 1.00 | 17.08 | 1.23 | 17.08 |
| #FFFFFF | 17.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001952
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1C1C1C
Design tokens & code
CSS
--color: #1d0c53; /* rgb */ color: rgb(29, 12, 83); /* oklch */ color: oklch(23.9% 0.118 284.0);
Tailwind
colors: {
custom: {
50: '#624d84',
500: '#1d0c53',
950: '#000000',
},
}SCSS
$custom: #1d0c53; $custom-light: #624d84; $custom-dark: #000000;
JSON
{
"hex": "#1d0c53",
"rgb": {
"r": 29,
"g": 12,
"b": 83
},
"hsl": {
"h": 254.366,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.23898,
"c": 0.11776,
"h": 284
},
"luminance": 0.01149
}Semantic roles & 50–950 ramp
primary
#1D0C53
secondary
#778E2D
accent
#F136C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C