#3F2C8F#3F2C8F
#3F2C8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.155 H 285.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2C8F |
|---|---|
| RGB | rgb(63, 44, 143) |
| HSL | hsl(252, 53%, 37%) |
| HSV | hsv(252, 69%, 56%) |
| CMYK | cmyk(55.9%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(26.28, 36.04, -51.98) |
| CIE-LCH | lch(26.28, 63.25, 304.74°) |
| OKLab | oklab(38% 0.0404 -0.1494) |
| OKLCH | oklch(38% 0.155 285.1) |
| XYZ | xyz(7.9070, 4.8409, 26.4990) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.17
Blueberry
#464196
ΔE00 5.98
Indigo Blue
#3A18B1
ΔE00 6.21
Royal
#0C1793
ΔE00 6.54
Sapphire (survey)
#2138AB
ΔE00 6.62
Rebeccapurple
#663399
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2C8F #7C8F2C
analogous
#2C4B8F #3F2C8F #712C8F
triadic
#3F2C8F #8F3F2C #2C8F3F
tetradic
#3F2C8F #8F2C4B #7C8F2C #2C8F71
square
#3F2C8F #8F2C4B #7C8F2C #2C8F71
split-complementary
#3F2C8F #8F712C #4B8F2C
monochromatic
#160F31 #2A1E60 #3F2C8F #543ABE #7A66D0
Accessibility & contrast
On white
10.67
#3F2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3F2C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2C8F
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2C8F | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#1C455A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3f2c8f; /* rgb */ color: rgb(63, 44, 143); /* oklch */ color: oklch(38.0% 0.155 285.1);
Tailwind
colors: {
custom: {
50: '#7d67b1',
500: '#3f2c8f',
950: '#000000',
},
}SCSS
$custom: #3f2c8f; $custom-light: #7d67b1; $custom-dark: #000000;
JSON
{
"hex": "#3f2c8f",
"rgb": {
"r": 63,
"g": 44,
"b": 143
},
"hsl": {
"h": 251.515,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.37997,
"c": 0.15478,
"h": 285.1
},
"luminance": 0.04841
}Semantic roles & 50–950 ramp
primary
#3F2C8F
secondary
#A6B661
accent
#DC4BC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80