#1F106A#1F106A
#1F106A is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.143 H 278.7°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1F106A |
|---|---|
| RGB | rgb(31, 16, 106) |
| HSL | hsl(250, 74%, 24%) |
| HSV | hsv(250, 85%, 42%) |
| CMYK | cmyk(70.8%, 84.9%, 0%, 58.4%) |
| CIE-LAB | lab(13.84, 35.33, -48.98) |
| CIE-LCH | lch(13.84, 60.39, 305.81°) |
| OKLab | oklab(27.31% 0.0217 -0.1415) |
| OKLCH | oklch(27.31% 0.143 278.7) |
| XYZ | xyz(3.3510, 1.7022, 13.7848) |
| Luminance | 0.0170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Darkblue (survey)
#030764
ΔE00 2.86
Dark Royal Blue
#02066F
ΔE00 2.96
Deep Blue
#040273
ΔE00 3.53
Dark Indigo
#1F0954
ΔE00 3.98
Dark Blue
#00035B
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F106A #5B6A10
analogous
#102E6A #1F106A #4C106A
triadic
#1F106A #6A1F10 #106A1F
tetradic
#1F106A #6A102E #5B6A10 #106A4C
square
#1F106A #6A102E #5B6A10 #106A4C
split-complementary
#1F106A #6A4C10 #2E6A10
monochromatic
#08041B #0F0835 #1F106A #2F189F #3E20D4
Accessibility & contrast
On white
15.67
#1F106A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.34
#1F106A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F106A
15.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F106A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F106A | 1.00 | 15.67 | 1.34 | 15.67 |
| #FFFFFF | 15.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002C3E
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #1f106a; /* rgb */ color: rgb(31, 16, 106); /* oklch */ color: oklch(27.3% 0.143 278.7);
Tailwind
colors: {
custom: {
50: '#685196',
500: '#1f106a',
950: '#000000',
},
}SCSS
$custom: #1f106a; $custom-light: #685196; $custom-dark: #000000;
JSON
{
"hex": "#1f106a",
"rgb": {
"r": 31,
"g": 16,
"b": 106
},
"hsl": {
"h": 250,
"s": 73.77,
"l": 23.922
},
"oklch": {
"l": 0.27308,
"c": 0.14311,
"h": 278.7
},
"luminance": 0.01702
}Semantic roles & 50–950 ramp
primary
#1F106A
secondary
#90A234
accent
#F037D2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E