#3F206F#3F206F
#3F206F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.129 H 296.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3F206F |
|---|---|
| RGB | rgb(63, 32, 111) |
| HSL | hsl(264, 55%, 28%) |
| HSV | hsv(264, 71%, 44%) |
| CMYK | cmyk(43.2%, 71.2%, 0%, 56.5%) |
| CIE-LAB | lab(20.97, 33.27, -40.40) |
| CIE-LCH | lch(20.97, 52.34, 309.47°) |
| OKLab | oklab(33.33% 0.0582 -0.1154) |
| OKLCH | oklch(33.33% 0.129 296.8) |
| XYZ | xyz(5.4349, 3.2374, 15.3744) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.72
Indigo
#4B0082
ΔE00 6.10
Midnight Blue
#191970
ΔE00 6.26
Indigo (survey)
#380282
ΔE00 6.36
Dark Indigo
#1F0954
ΔE00 7.30
Darkslateblue
#483D8B
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F206F #506F20
analogous
#20286F #3F206F #66206F
triadic
#3F206F #6F3F20 #206F3F
tetradic
#3F206F #6F2028 #506F20 #206F66
square
#3F206F #6F2028 #506F20 #206F66
split-complementary
#3F206F #6F6620 #286F20
monochromatic
#0D0718 #24123F #3F206F #5A2E9F #7641C8
Accessibility & contrast
On white
12.75
#3F206F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#3F206F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F206F
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F206F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F206F | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#333344
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3f206f; /* rgb */ color: rgb(63, 32, 111); /* oklch */ color: oklch(33.3% 0.129 296.8);
Tailwind
colors: {
custom: {
50: '#795e99',
500: '#3f206f',
950: '#000000',
},
}SCSS
$custom: #3f206f; $custom-light: #795e99; $custom-dark: #000000;
JSON
{
"hex": "#3f206f",
"rgb": {
"r": 63,
"g": 32,
"b": 111
},
"hsl": {
"h": 263.544,
"s": 55.245,
"l": 28.039
},
"oklch": {
"l": 0.3333,
"c": 0.1292,
"h": 296.8
},
"luminance": 0.03237
}Semantic roles & 50–950 ramp
primary
#3F206F
secondary
#7FA348
accent
#DF49A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E