#3F2983#3F2983
#3F2983 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.143 H 288.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2983 |
|---|---|
| RGB | rgb(63, 41, 131) |
| HSL | hsl(255, 52%, 34%) |
| HSV | hsv(255, 69%, 51%) |
| CMYK | cmyk(51.9%, 68.7%, 0%, 48.6%) |
| CIE-LAB | lab(24.58, 34.06, -47.27) |
| CIE-LCH | lch(24.58, 58.26, 305.77°) |
| OKLab | oklab(36.45% 0.0452 -0.1356) |
| OKLCH | oklch(36.45% 0.143 288.5) |
| XYZ | xyz(6.9384, 4.2810, 21.9291) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.65
Midnight Blue
#191970
ΔE00 6.45
Indigo (survey)
#380282
ΔE00 6.88
Royal
#0C1793
ΔE00 6.92
Indigo
#4B0082
ΔE00 7.08
Blueberry
#464196
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2983 #6D8329
analogous
#294083 #3F2983 #6C2983
triadic
#3F2983 #833F29 #29833F
tetradic
#3F2983 #832940 #6D8329 #29836C
square
#3F2983 #832940 #6D8329 #29836C
split-complementary
#3F2983 #836C29 #408329
monochromatic
#120C26 #291A54 #3F2983 #5538B2 #765BCC
Accessibility & contrast
On white
11.31
#3F2983 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F2983 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2983
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2983 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2983 | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#273F52
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f2983; /* rgb */ color: rgb(63, 41, 131); /* oklch */ color: oklch(36.5% 0.143 288.5);
Tailwind
colors: {
custom: {
50: '#7b64a8',
500: '#3f2983',
950: '#000000',
},
}SCSS
$custom: #3f2983; $custom-light: #7b64a8; $custom-dark: #000000;
JSON
{
"hex": "#3f2983",
"rgb": {
"r": 63,
"g": 41,
"b": 131
},
"hsl": {
"h": 254.667,
"s": 52.326,
"l": 33.725
},
"oklch": {
"l": 0.36453,
"c": 0.14292,
"h": 288.5
},
"luminance": 0.04281
}Semantic roles & 50–950 ramp
primary
#3F2983
secondary
#9BB157
accent
#DC4CB9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F