#2F1067#2F1067
#2F1067 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.138 H 291.1°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1067 |
|---|---|
| RGB | rgb(47, 16, 103) |
| HSL | hsl(261, 73%, 23%) |
| HSV | hsv(261, 84%, 40%) |
| CMYK | cmyk(54.4%, 84.5%, 0%, 59.6%) |
| CIE-LAB | lab(15.24, 36.37, -44.63) |
| CIE-LCH | lch(15.24, 57.57, 309.18°) |
| OKLab | oklab(28.6% 0.0496 -0.1283) |
| OKLCH | oklch(28.6% 0.138 291.1) |
| XYZ | xyz(3.8051, 1.9540, 13.0060) |
| Luminance | 0.0195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.81
Midnight Blue
#191970
ΔE00 4.54
Indigo (survey)
#380282
ΔE00 4.87
Darkblue (survey)
#030764
ΔE00 5.05
Dark Royal Blue
#02066F
ΔE00 5.21
Deep Blue
#040273
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1067 #486710
analogous
#101D67 #2F1067 #5A1067
triadic
#2F1067 #672F10 #10672F
tetradic
#2F1067 #67101D #486710 #10675A
square
#2F1067 #67101D #486710 #10675A
split-complementary
#2F1067 #675A10 #1D6710
monochromatic
#0C041A #170832 #2F1067 #47189C #5F20D1
Accessibility & contrast
On white
15.10
#2F1067 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#2F1067 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1067
15.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1067 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1067 | 1.00 | 15.10 | 1.39 | 15.10 |
| #FFFFFF | 15.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#1B293C
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #2f1067; /* rgb */ color: rgb(47, 16, 103); /* oklch */ color: oklch(28.6% 0.138 291.1);
Tailwind
colors: {
custom: {
50: '#6f5393',
500: '#2f1067',
950: '#000000',
},
}SCSS
$custom: #2f1067; $custom-light: #6f5393; $custom-dark: #000000;
JSON
{
"hex": "#2f1067",
"rgb": {
"r": 47,
"g": 16,
"b": 103
},
"hsl": {
"h": 261.379,
"s": 73.109,
"l": 23.333
},
"oklch": {
"l": 0.28597,
"c": 0.13752,
"h": 291.1
},
"luminance": 0.01954
}Semantic roles & 50–950 ramp
primary
#2F1067
secondary
#799F33
accent
#F038AE
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E