#3F2189#3F2189
#3F2189 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.160 H 288.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2189 |
|---|---|
| RGB | rgb(63, 33, 137) |
| HSL | hsl(257, 61%, 33%) |
| HSV | hsv(257, 76%, 54%) |
| CMYK | cmyk(54%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(23.51, 40.37, -52.78) |
| CIE-LCH | lch(23.51, 66.45, 307.41°) |
| OKLab | oklab(35.86% 0.0516 -0.1517) |
| OKLCH | oklch(35.86% 0.16 288.8) |
| XYZ | xyz(7.1078, 3.9503, 24.0500) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.89
Indigo
#4B0082
ΔE00 5.26
Royal
#0C1793
ΔE00 5.56
Indigo Blue
#3A18B1
ΔE00 5.89
Midnight Blue
#191970
ΔE00 6.34
Cobalt Blue
#030AA7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2189 #6B8921
analogous
#213789 #3F2189 #732189
triadic
#3F2189 #893F21 #21893F
tetradic
#3F2189 #892137 #6B8921 #218973
square
#3F2189 #892137 #6B8921 #218973
split-complementary
#3F2189 #897321 #378921
monochromatic
#120926 #281558 #3F2189 #562DBA #7650D5
Accessibility & contrast
On white
11.73
#3F2189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#3F2189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2189
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2189 | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#233D53
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3f2189; /* rgb */ color: rgb(63, 33, 137); /* oklch */ color: oklch(35.9% 0.160 288.8);
Tailwind
colors: {
custom: {
50: '#7d60ac',
500: '#3f2189',
950: '#000000',
},
}SCSS
$custom: #3f2189; $custom-light: #7d60ac; $custom-dark: #000000;
JSON
{
"hex": "#3f2189",
"rgb": {
"r": 63,
"g": 33,
"b": 137
},
"hsl": {
"h": 257.308,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.35856,
"c": 0.16025,
"h": 288.8
},
"luminance": 0.03951
}Semantic roles & 50–950 ramp
primary
#3F2189
secondary
#99B84E
accent
#E444B6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F