#3F206C#3F206C
#3F206C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.125 H 297.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3F206C |
|---|---|
| RGB | rgb(63, 32, 108) |
| HSL | hsl(264, 54%, 27%) |
| HSV | hsv(264, 70%, 42%) |
| CMYK | cmyk(41.7%, 70.4%, 0%, 57.6%) |
| CIE-LAB | lab(20.72, 32.41, -38.86) |
| CIE-LCH | lch(20.72, 50.60, 309.82°) |
| OKLab | oklab(33.07% 0.0586 -0.1108) |
| OKLCH | oklch(33.07% 0.125 297.9) |
| XYZ | xyz(5.2725, 3.1724, 14.5190) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.77
Indigo
#4B0082
ΔE00 6.47
Midnight Blue
#191970
ΔE00 6.54
Indigo (survey)
#380282
ΔE00 6.81
Dark Indigo
#1F0954
ΔE00 7.16
Darkslateblue
#483D8B
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F206C #4D6C20
analogous
#20276C #3F206C #65206C
triadic
#3F206C #6C3F20 #206C3F
tetradic
#3F206C #6C2027 #4D6C20 #206C65
square
#3F206C #6C2027 #4D6C20 #206C65
split-complementary
#3F206C #6C6520 #276C20
monochromatic
#0E0718 #23123D #3F206C #5B2E9B #7740C6
Accessibility & contrast
On white
12.85
#3F206C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#3F206C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F206C
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F206C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F206C | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#343243
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3f206c; /* rgb */ color: rgb(63, 32, 108); /* oklch */ color: oklch(33.1% 0.125 297.9);
Tailwind
colors: {
custom: {
50: '#785e97',
500: '#3f206c',
950: '#000000',
},
}SCSS
$custom: #3f206c; $custom-light: #785e97; $custom-dark: #000000;
JSON
{
"hex": "#3f206c",
"rgb": {
"r": 63,
"g": 32,
"b": 108
},
"hsl": {
"h": 264.474,
"s": 54.286,
"l": 27.451
},
"oklch": {
"l": 0.33073,
"c": 0.1254,
"h": 297.9
},
"luminance": 0.03172
}Semantic roles & 50–950 ramp
primary
#3F206C
secondary
#7CA048
accent
#DE4AA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E