#2F1466#2F1466
#2F1466 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.132 H 290.7°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1466 |
|---|---|
| RGB | rgb(47, 20, 102) |
| HSL | hsl(260, 67%, 24%) |
| HSV | hsv(260, 80%, 40%) |
| CMYK | cmyk(53.9%, 80.4%, 0%, 60%) |
| CIE-LAB | lab(15.82, 34.12, -43.03) |
| CIE-LCH | lch(15.82, 54.91, 308.42°) |
| OKLab | oklab(28.97% 0.0467 -0.1236) |
| OKLCH | oklch(28.97% 0.132 290.7) |
| XYZ | xyz(3.8200, 2.0638, 12.7649) |
| Luminance | 0.0206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.87
Midnight Blue
#191970
ΔE00 4.27
Darkblue (survey)
#030764
ΔE00 5.36
Indigo (survey)
#380282
ΔE00 5.48
Dark Royal Blue
#02066F
ΔE00 5.63
Deep Blue
#040273
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1466 #4B6614
analogous
#142266 #2F1466 #581466
triadic
#2F1466 #662F14 #14662F
tetradic
#2F1466 #661422 #4B6614 #146658
square
#2F1466 #661422 #4B6614 #146658
split-complementary
#2F1466 #665814 #226614
monochromatic
#0C051A #170A33 #2F1466 #471E99 #5E28CC
Accessibility & contrast
On white
14.86
#2F1466 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#2F1466 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1466
14.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1466 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1466 | 1.00 | 14.86 | 1.41 | 14.86 |
| #FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#1C2B3C
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2f1466; /* rgb */ color: rgb(47, 20, 102); /* oklch */ color: oklch(29.0% 0.132 290.7);
Tailwind
colors: {
custom: {
50: '#6e5592',
500: '#2f1466',
950: '#000000',
},
}SCSS
$custom: #2f1466; $custom-light: #6e5592; $custom-dark: #000000;
JSON
{
"hex": "#2f1466",
"rgb": {
"r": 47,
"g": 20,
"b": 102
},
"hsl": {
"h": 259.756,
"s": 67.213,
"l": 23.922
},
"oklch": {
"l": 0.28965,
"c": 0.13213,
"h": 290.7
},
"luminance": 0.02064
}Semantic roles & 50–950 ramp
primary
#2F1466
secondary
#7C9D39
accent
#EA3EB1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E