#3F2C8D#3F2C8D
#3F2C8D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.152 H 285.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2C8D |
|---|---|
| RGB | rgb(63, 44, 141) |
| HSL | hsl(252, 52%, 36%) |
| HSV | hsv(252, 69%, 55%) |
| CMYK | cmyk(55.3%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(26.10, 35.41, -51.03) |
| CIE-LCH | lch(26.10, 62.11, 304.76°) |
| OKLab | oklab(37.82% 0.0407 -0.1466) |
| OKLCH | oklch(37.82% 0.152 285.5) |
| XYZ | xyz(7.7569, 4.7808, 25.7082) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.07
Blueberry
#464196
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 6.49
Royal
#0C1793
ΔE00 6.63
Sapphire (survey)
#2138AB
ΔE00 6.84
Rebeccapurple
#663399
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2C8D #7A8D2C
analogous
#2C4A8D #3F2C8D #702C8D
triadic
#3F2C8D #8D3F2C #2C8D3F
tetradic
#3F2C8D #8D2C4A #7A8D2C #2C8D70
square
#3F2C8D #8D2C4A #7A8D2C #2C8D70
split-complementary
#3F2C8D #8D702C #4A8D2C
monochromatic
#150F30 #2A1D5E #3F2C8D #543BBC #7965CF
Accessibility & contrast
On white
10.74
#3F2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3F2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2C8D
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2C8D | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#1E4558
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f2c8d; /* rgb */ color: rgb(63, 44, 141); /* oklch */ color: oklch(37.8% 0.152 285.5);
Tailwind
colors: {
custom: {
50: '#7c66af',
500: '#3f2c8d',
950: '#000000',
},
}SCSS
$custom: #3f2c8d; $custom-light: #7c66af; $custom-dark: #000000;
JSON
{
"hex": "#3f2c8d",
"rgb": {
"r": 63,
"g": 44,
"b": 141
},
"hsl": {
"h": 251.753,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.37817,
"c": 0.15216,
"h": 285.5
},
"luminance": 0.04781
}Semantic roles & 50–950 ramp
primary
#3F2C8D
secondary
#A4B560
accent
#DC4CC0
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0610
muted
#7C7A7F