#3F2090#3F2090
#3F2090 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.170 H 287.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2090 |
|---|---|
| RGB | rgb(63, 32, 144) |
| HSL | hsl(257, 64%, 35%) |
| HSV | hsv(257, 78%, 56%) |
| CMYK | cmyk(56.3%, 77.8%, 0%, 43.5%) |
| CIE-LAB | lab(24.01, 42.95, -56.31) |
| CIE-LCH | lch(24.01, 70.82, 307.33°) |
| OKLab | oklab(36.42% 0.0505 -0.162) |
| OKLCH | oklch(36.42% 0.17 287.3) |
| XYZ | xyz(7.5990, 4.1030, 26.7717) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.76
Indigo (survey)
#380282
ΔE00 4.95
Royal
#0C1793
ΔE00 5.14
Indigo
#4B0082
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 6.17
Ultramarine
#2000B1
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2090 #719020
analogous
#203990 #3F2090 #772090
triadic
#3F2090 #903F20 #20903F
tetradic
#3F2090 #902039 #719020 #209077
square
#3F2090 #902039 #719020 #209077
split-complementary
#3F2090 #907720 #399020
monochromatic
#130A2C #29155E #3F2090 #552BC2 #7752D9
Accessibility & contrast
On white
11.53
#3F2090 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3F2090 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2090
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2090 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2090 | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#1C4057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3f2090; /* rgb */ color: rgb(63, 32, 144); /* oklch */ color: oklch(36.4% 0.170 287.3);
Tailwind
colors: {
custom: {
50: '#7e5fb2',
500: '#3f2090',
950: '#000000',
},
}SCSS
$custom: #3f2090; $custom-light: #7e5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3f2090",
"rgb": {
"r": 63,
"g": 32,
"b": 144
},
"hsl": {
"h": 256.607,
"s": 63.636,
"l": 34.51
},
"oklch": {
"l": 0.36416,
"c": 0.16974,
"h": 287.3
},
"luminance": 0.04103
}Semantic roles & 50–950 ramp
primary
#3F2090
secondary
#9EBC50
accent
#E741B9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980