#3F2289#3F2289
#3F2289 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.159 H 288.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2289 |
|---|---|
| RGB | rgb(63, 34, 137) |
| HSL | hsl(257, 60%, 34%) |
| HSV | hsv(257, 75%, 54%) |
| CMYK | cmyk(54%, 75.2%, 0%, 46.3%) |
| CIE-LAB | lab(23.69, 39.84, -52.48) |
| CIE-LCH | lch(23.69, 65.89, 307.21°) |
| OKLab | oklab(35.99% 0.0507 -0.1508) |
| OKLCH | oklch(35.99% 0.159 288.6) |
| XYZ | xyz(7.1360, 4.0066, 24.0594) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.11
Indigo
#4B0082
ΔE00 5.46
Royal
#0C1793
ΔE00 5.63
Indigo Blue
#3A18B1
ΔE00 5.95
Midnight Blue
#191970
ΔE00 6.36
Cobalt Blue
#030AA7
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2289 #6C8922
analogous
#223889 #3F2289 #722289
triadic
#3F2289 #893F22 #22893F
tetradic
#3F2289 #892238 #6C8922 #228972
square
#3F2289 #892238 #6C8922 #228972
split-complementary
#3F2289 #897222 #388922
monochromatic
#120A27 #281658 #3F2289 #562EBA #7651D4
Accessibility & contrast
On white
11.66
#3F2289 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3F2289 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2289
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2289 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2289 | 1.00 | 11.66 | 1.80 | 11.66 |
| #FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#233E53
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3f2289; /* rgb */ color: rgb(63, 34, 137); /* oklch */ color: oklch(36.0% 0.159 288.6);
Tailwind
colors: {
custom: {
50: '#7c60ac',
500: '#3f2289',
950: '#000000',
},
}SCSS
$custom: #3f2289; $custom-light: #7c60ac; $custom-dark: #000000;
JSON
{
"hex": "#3f2289",
"rgb": {
"r": 63,
"g": 34,
"b": 137
},
"hsl": {
"h": 256.893,
"s": 60.234,
"l": 33.529
},
"oklch": {
"l": 0.35987,
"c": 0.15914,
"h": 288.6
},
"luminance": 0.04007
}Semantic roles & 50–950 ramp
primary
#3F2289
secondary
#9AB84F
accent
#E344B7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F