#2F1680#2F1680
#2F1680 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.162 H 283.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1680 |
|---|---|
| RGB | rgb(47, 22, 128) |
| HSL | hsl(254, 71%, 29%) |
| HSV | hsv(254, 83%, 50%) |
| CMYK | cmyk(63.3%, 82.8%, 0%, 49.8%) |
| CIE-LAB | lab(18.96, 41.00, -54.67) |
| CIE-LCH | lch(18.96, 68.33, 306.87°) |
| OKLab | oklab(31.99% 0.0368 -0.1576) |
| OKLCH | oklch(31.99% 0.162 283.2) |
| XYZ | xyz(5.3543, 2.7363, 20.6639) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.08
Midnight Blue
#191970
ΔE00 4.01
Royal
#0C1793
ΔE00 4.02
Darkblue
#00008B
ΔE00 4.82
Navy
#000080
ΔE00 4.91
Deep Blue
#040273
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1680 #678016
analogous
#163280 #2F1680 #641680
triadic
#2F1680 #802F16 #16802F
tetradic
#2F1680 #801632 #678016 #168064
square
#2F1680 #801632 #678016 #168064
split-complementary
#2F1680 #806416 #328016
monochromatic
#0A041A #1C0D4C #2F1680 #421FB4 #5C34DC
Accessibility & contrast
On white
13.57
#2F1680 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#2F1680 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1680
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1680 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1680 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #2f1680; /* rgb */ color: rgb(47, 22, 128); /* oklch */ color: oklch(32.0% 0.162 283.2);
Tailwind
colors: {
custom: {
50: '#7358a6',
500: '#2f1680',
950: '#000000',
},
}SCSS
$custom: #2f1680; $custom-light: #7358a6; $custom-dark: #000000;
JSON
{
"hex": "#2f1680",
"rgb": {
"r": 47,
"g": 22,
"b": 128
},
"hsl": {
"h": 254.151,
"s": 70.667,
"l": 29.412
},
"oklch": {
"l": 0.31989,
"c": 0.16189,
"h": 283.2
},
"luminance": 0.02737
}Semantic roles & 50–950 ramp
primary
#2F1680
secondary
#98B53D
accent
#ED3AC3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F