#2F1983#2F1983
#2F1983 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.163 H 282.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F1983 |
|---|---|
| RGB | rgb(47, 25, 131) |
| HSL | hsl(252, 68%, 31%) |
| HSV | hsv(252, 81%, 51%) |
| CMYK | cmyk(64.1%, 80.9%, 0%, 48.6%) |
| CIE-LAB | lab(19.79, 40.46, -55.18) |
| CIE-LCH | lch(19.79, 68.42, 306.25°) |
| OKLab | oklab(32.67% 0.034 -0.1592) |
| OKLCH | oklch(32.67% 0.163 282.1) |
| XYZ | xyz(5.6154, 2.9379, 21.7395) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.61
Royal
#0C1793
ΔE00 3.67
Midnight Blue
#191970
ΔE00 4.11
Darkblue
#00008B
ΔE00 5.06
Navy
#000080
ΔE00 5.30
Indigo
#4B0082
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F1983 #6D8319
analogous
#193883 #2F1983 #641983
triadic
#2F1983 #832F19 #19832F
tetradic
#2F1983 #831938 #6D8319 #198364
square
#2F1983 #831938 #6D8319 #198364
split-complementary
#2F1983 #836419 #388319
monochromatic
#0A051C #1D0F50 #2F1983 #4123B6 #5D3DDA
Accessibility & contrast
On white
13.23
#2F1983 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2F1983 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F1983
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F1983 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F1983 | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2f1983; /* rgb */ color: rgb(47, 25, 131); /* oklch */ color: oklch(32.7% 0.163 282.1);
Tailwind
colors: {
custom: {
50: '#7459a8',
500: '#2f1983',
950: '#000000',
},
}SCSS
$custom: #2f1983; $custom-light: #7459a8; $custom-dark: #000000;
JSON
{
"hex": "#2f1983",
"rgb": {
"r": 47,
"g": 25,
"b": 131
},
"hsl": {
"h": 252.453,
"s": 67.949,
"l": 30.588
},
"oklch": {
"l": 0.3267,
"c": 0.16278,
"h": 282.1
},
"luminance": 0.02938
}Semantic roles & 50–950 ramp
primary
#2F1983
secondary
#9EB741
accent
#EB3DC7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F