#3F2F72#3F2F72
#3F2F72 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.1% C 0.111 H 290.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2F72 |
|---|---|
| RGB | rgb(63, 47, 114) |
| HSL | hsl(254, 42%, 32%) |
| HSV | hsv(254, 59%, 45%) |
| CMYK | cmyk(44.7%, 58.8%, 0%, 55.3%) |
| CIE-LAB | lab(24.65, 24.99, -36.38) |
| CIE-LCH | lch(24.65, 44.13, 304.48°) |
| OKLab | oklab(36.09% 0.0393 -0.1035) |
| OKLCH | oklch(36.09% 0.111 290.8) |
| XYZ | xyz(6.1028, 4.3045, 16.4256) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.38
Blueberry
#464196
ΔE00 7.52
Midnight Blue
#191970
ΔE00 7.83
Rebeccapurple
#663399
ΔE00 9.24
Indigo
#4B0082
ΔE00 9.85
Royal Purple (survey)
#4B006E
ΔE00 9.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2F72 #62722F
analogous
#2F4172 #3F2F72 #612F72
triadic
#3F2F72 #723F2F #2F723F
tetradic
#3F2F72 #722F41 #62722F #2F7261
square
#3F2F72 #722F41 #62722F #2F7261
split-complementary
#3F2F72 #72612F #41722F
monochromatic
#0F0B1B #271D47 #3F2F72 #57419D #755FBD
Accessibility & contrast
On white
11.28
#3F2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F2F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2F72
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2F72 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A3C74
Deuteranopia (green-blind)
#0E3971
Tritanopia (blue-blind)
#313D4B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f2f72; /* rgb */ color: rgb(63, 47, 114); /* oklch */ color: oklch(36.1% 0.111 290.8);
Tailwind
colors: {
custom: {
50: '#78689b',
500: '#3f2f72',
950: '#000000',
},
}SCSS
$custom: #3f2f72; $custom-light: #78689b; $custom-dark: #000000;
JSON
{
"hex": "#3f2f72",
"rgb": {
"r": 63,
"g": 47,
"b": 114
},
"hsl": {
"h": 254.328,
"s": 41.615,
"l": 31.569
},
"oklch": {
"l": 0.36085,
"c": 0.11075,
"h": 290.8
},
"luminance": 0.04305
}Semantic roles & 50–950 ramp
primary
#3F2F72
secondary
#92A35A
accent
#D156B4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E