#2F1685#2F1685
#2F1685 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.168 H 282.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1685 |
|---|---|
| RGB | rgb(47, 22, 133) |
| HSL | hsl(254, 72%, 30%) |
| HSV | hsv(254, 83%, 52%) |
| CMYK | cmyk(64.7%, 83.5%, 0%, 47.8%) |
| CIE-LAB | lab(19.52, 42.51, -56.89) |
| CIE-LCH | lch(19.52, 71.02, 306.76°) |
| OKLab | oklab(32.55% 0.0351 -0.1641) |
| OKLCH | oklch(32.55% 0.168 282.1) |
| XYZ | xyz(5.6915, 2.8712, 22.4400) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.08
Royal
#0C1793
ΔE00 3.48
Midnight Blue
#191970
ΔE00 4.50
Darkblue
#00008B
ΔE00 4.56
Navy
#000080
ΔE00 4.89
Indigo
#4B0082
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1685 #6C8516
analogous
#163485 #2F1685 #671685
triadic
#2F1685 #852F16 #16852F
tetradic
#2F1685 #851634 #6C8516 #168567
square
#2F1685 #851634 #6C8516 #168567
split-complementary
#2F1685 #856716 #348516
monochromatic
#0A051C #1C0D50 #2F1685 #421FBA #5D37DE
Accessibility & contrast
On white
13.34
#2F1685 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2F1685 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1685
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1685 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1685 | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2f1685; /* rgb */ color: rgb(47, 22, 133); /* oklch */ color: oklch(32.5% 0.168 282.1);
Tailwind
colors: {
custom: {
50: '#7458aa',
500: '#2f1685',
950: '#000000',
},
}SCSS
$custom: #2f1685; $custom-light: #7458aa; $custom-dark: #000000;
JSON
{
"hex": "#2f1685",
"rgb": {
"r": 47,
"g": 22,
"b": 133
},
"hsl": {
"h": 253.514,
"s": 71.613,
"l": 30.392
},
"oklch": {
"l": 0.32547,
"c": 0.16785,
"h": 282.1
},
"luminance": 0.02872
}Semantic roles & 50–950 ramp
primary
#2F1685
secondary
#9DB93E
accent
#EE39C6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F