#3F2D8F#3F2D8F
#3F2D8F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.154 H 284.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2D8F |
|---|---|
| RGB | rgb(63, 45, 143) |
| HSL | hsl(251, 52%, 37%) |
| HSV | hsv(251, 69%, 56%) |
| CMYK | cmyk(55.9%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(26.50, 35.45, -51.62) |
| CIE-LCH | lch(26.50, 62.62, 304.48°) |
| OKLab | oklab(38.16% 0.0395 -0.1484) |
| OKLCH | oklch(38.16% 0.154 284.9) |
| XYZ | xyz(7.9447, 4.9163, 26.5116) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.92
Blueberry
#464196
ΔE00 5.72
Indigo Blue
#3A18B1
ΔE00 6.38
Sapphire (survey)
#2138AB
ΔE00 6.48
Royal
#0C1793
ΔE00 6.71
Rebeccapurple
#663399
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2D8F #7D8F2D
analogous
#2D4C8F #3F2D8F #702D8F
triadic
#3F2D8F #8F3F2D #2D8F3F
tetradic
#3F2D8F #8F2D4C #7D8F2D #2D8F70
square
#3F2D8F #8F2D4C #7D8F2D #2D8F70
split-complementary
#3F2D8F #8F702D #4C8F2D
monochromatic
#161032 #2A1E60 #3F2D8F #543CBE #7A67CF
Accessibility & contrast
On white
10.59
#3F2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#3F2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2D8F
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2D8F | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#1C465A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3f2d8f; /* rgb */ color: rgb(63, 45, 143); /* oklch */ color: oklch(38.2% 0.154 284.9);
Tailwind
colors: {
custom: {
50: '#7d67b1',
500: '#3f2d8f',
950: '#000000',
},
}SCSS
$custom: #3f2d8f; $custom-light: #7d67b1; $custom-dark: #000000;
JSON
{
"hex": "#3f2d8f",
"rgb": {
"r": 63,
"g": 45,
"b": 143
},
"hsl": {
"h": 251.02,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.38155,
"c": 0.15352,
"h": 284.9
},
"luminance": 0.04917
}Semantic roles & 50–950 ramp
primary
#3F2D8F
secondary
#A6B662
accent
#DC4CC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80