#2F1683#2F1683
#2F1683 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.165 H 282.5°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1683 |
|---|---|
| RGB | rgb(47, 22, 131) |
| HSL | hsl(254, 71%, 30%) |
| HSV | hsv(254, 83%, 51%) |
| CMYK | cmyk(64.1%, 83.2%, 0%, 48.6%) |
| CIE-LAB | lab(19.29, 41.91, -56.01) |
| CIE-LCH | lch(19.29, 69.95, 306.81°) |
| OKLab | oklab(32.32% 0.0358 -0.1615) |
| OKLCH | oklch(32.32% 0.165 282.5) |
| XYZ | xyz(5.5547, 2.8165, 21.7192) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.05
Royal
#0C1793
ΔE00 3.68
Midnight Blue
#191970
ΔE00 4.30
Darkblue
#00008B
ΔE00 4.65
Navy
#000080
ΔE00 4.88
Indigo
#4B0082
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1683 #6A8316
analogous
#163483 #2F1683 #651683
triadic
#2F1683 #832F16 #16832F
tetradic
#2F1683 #831634 #6A8316 #168365
square
#2F1683 #831634 #6A8316 #168365
split-complementary
#2F1683 #836516 #348316
monochromatic
#09041A #1C0D4F #2F1683 #421FB7 #5C36DD
Accessibility & contrast
On white
13.43
#2F1683 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#2F1683 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1683
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1683 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1683 | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#00374D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2f1683; /* rgb */ color: rgb(47, 22, 131); /* oklch */ color: oklch(32.3% 0.165 282.5);
Tailwind
colors: {
custom: {
50: '#7458a8',
500: '#2f1683',
950: '#000000',
},
}SCSS
$custom: #2f1683; $custom-light: #7458a8; $custom-dark: #000000;
JSON
{
"hex": "#2f1683",
"rgb": {
"r": 47,
"g": 22,
"b": 131
},
"hsl": {
"h": 253.761,
"s": 71.242,
"l": 30
},
"oklch": {
"l": 0.32323,
"c": 0.16547,
"h": 282.5
},
"luminance": 0.02817
}Semantic roles & 50–950 ramp
primary
#2F1683
secondary
#9BB73D
accent
#EE3AC5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090310
muted
#7B787F