#3F2091#3F2091
#3F2091 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.171 H 287.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2091 |
|---|---|
| RGB | rgb(63, 32, 145) |
| HSL | hsl(256, 64%, 35%) |
| HSV | hsv(256, 78%, 57%) |
| CMYK | cmyk(56.6%, 77.9%, 0%, 43.1%) |
| CIE-LAB | lab(24.11, 43.24, -56.77) |
| CIE-LCH | lch(24.11, 71.36, 307.29°) |
| OKLab | oklab(36.52% 0.0502 -0.1634) |
| OKLCH | oklch(36.52% 0.171 287.1) |
| XYZ | xyz(7.6757, 4.1337, 27.1760) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.61
Indigo (survey)
#380282
ΔE00 5.00
Royal
#0C1793
ΔE00 5.11
Indigo
#4B0082
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2091 #729120
analogous
#203A91 #3F2091 #782091
triadic
#3F2091 #913F20 #20913F
tetradic
#3F2091 #91203A #729120 #209178
square
#3F2091 #91203A #729120 #209178
split-complementary
#3F2091 #917820 #3A9120
monochromatic
#130A2D #29155F #3F2091 #552BC3 #7752D9
Accessibility & contrast
On white
11.50
#3F2091 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3F2091 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2091
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2091 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2091 | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#1B4057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f2091; /* rgb */ color: rgb(63, 32, 145); /* oklch */ color: oklch(36.5% 0.171 287.1);
Tailwind
colors: {
custom: {
50: '#7e5fb2',
500: '#3f2091',
950: '#000000',
},
}SCSS
$custom: #3f2091; $custom-light: #7e5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3f2091",
"rgb": {
"r": 63,
"g": 32,
"b": 145
},
"hsl": {
"h": 256.46,
"s": 63.842,
"l": 34.706
},
"oklch": {
"l": 0.36516,
"c": 0.17093,
"h": 287.1
},
"luminance": 0.04134
}Semantic roles & 50–950 ramp
primary
#3F2091
secondary
#9FBC51
accent
#E741B9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980