#1F0F6E#1F0F6E
#1F0F6E is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.149 H 278.0°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1F0F6E |
|---|---|
| RGB | rgb(31, 15, 110) |
| HSL | hsl(250, 76%, 25%) |
| HSV | hsv(250, 86%, 43%) |
| CMYK | cmyk(71.8%, 86.4%, 0%, 56.9%) |
| CIE-LAB | lab(14.16, 37.11, -51.06) |
| CIE-LCH | lch(14.16, 63.12, 306.01°) |
| OKLab | oklab(27.68% 0.0209 -0.1475) |
| OKLCH | oklch(27.68% 0.149 278) |
| XYZ | xyz(3.5495, 1.7584, 14.9012) |
| Luminance | 0.0176 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Royal Blue
#02066F
ΔE00 2.62
Midnight Blue
#191970
ΔE00 2.63
Darkblue (survey)
#030764
ΔE00 2.96
Deep Blue
#040273
ΔE00 3.06
Navy
#000080
ΔE00 4.09
Dark Blue
#00035B
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F0F6E #5E6E0F
analogous
#0F2F6E #1F0F6E #4F0F6E
triadic
#1F0F6E #6E1F0F #0F6E1F
tetradic
#1F0F6E #6E0F2F #5E6E0F #0F6E4F
square
#1F0F6E #6E0F2F #5E6E0F #0F6E4F
split-complementary
#1F0F6E #6E4F0F #2F6E0F
monochromatic
#08041B #100838 #1F0F6E #2E16A4 #3D1EDA
Accessibility & contrast
On white
15.53
#1F0F6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#1F0F6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F0F6E
15.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F0F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F0F6E | 1.00 | 15.53 | 1.35 | 15.53 |
| #FFFFFF | 15.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002D40
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #1f0f6e; /* rgb */ color: rgb(31, 15, 110); /* oklch */ color: oklch(27.7% 0.149 278.0);
Tailwind
colors: {
custom: {
50: '#695199',
500: '#1f0f6e',
950: '#000000',
},
}SCSS
$custom: #1f0f6e; $custom-light: #695199; $custom-dark: #000000;
JSON
{
"hex": "#1f0f6e",
"rgb": {
"r": 31,
"g": 15,
"b": 110
},
"hsl": {
"h": 250.105,
"s": 76,
"l": 24.51
},
"oklch": {
"l": 0.27676,
"c": 0.14896,
"h": 278
},
"luminance": 0.01759
}Semantic roles & 50–950 ramp
primary
#1F0F6E
secondary
#93A633
accent
#F335D3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E