#3F1C7C#3F1C7C
#3F1C7C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.150 H 293.3°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C7C |
|---|---|
| RGB | rgb(63, 28, 124) |
| HSL | hsl(262, 63%, 30%) |
| HSV | hsv(262, 77%, 49%) |
| CMYK | cmyk(49.2%, 77.4%, 0%, 51.4%) |
| CIE-LAB | lab(21.37, 39.15, -48.10) |
| CIE-LCH | lch(21.37, 62.02, 309.15°) |
| OKLab | oklab(33.97% 0.0594 -0.1379) |
| OKLCH | oklch(33.97% 0.15 293.3) |
| XYZ | xyz(6.1022, 3.3423, 19.3885) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.14
Indigo
#4B0082
ΔE00 4.26
Royal Purple (survey)
#4B006E
ΔE00 5.46
Midnight Blue
#191970
ΔE00 5.79
Royal
#0C1793
ΔE00 6.62
Darkblue
#00008B
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C7C #597C1C
analogous
#1C297C #3F1C7C #6F1C7C
triadic
#3F1C7C #7C3F1C #1C7C3F
tetradic
#3F1C7C #7C1C29 #597C1C #1C7C6F
square
#3F1C7C #7C1C29 #597C1C #1C7C6F
split-complementary
#3F1C7C #7C6F1C #297C1C
monochromatic
#0D0619 #26114A #3F1C7C #5827AE #753FD4
Accessibility & contrast
On white
12.59
#3F1C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#3F1C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C7C
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C7C | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#2C364B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #3f1c7c; /* rgb */ color: rgb(63, 28, 124); /* oklch */ color: oklch(34.0% 0.150 293.3);
Tailwind
colors: {
custom: {
50: '#7b5ca3',
500: '#3f1c7c',
950: '#000000',
},
}SCSS
$custom: #3f1c7c; $custom-light: #7b5ca3; $custom-dark: #000000;
JSON
{
"hex": "#3f1c7c",
"rgb": {
"r": 63,
"g": 28,
"b": 124
},
"hsl": {
"h": 261.875,
"s": 63.158,
"l": 29.804
},
"oklch": {
"l": 0.3397,
"c": 0.1502,
"h": 293.3
},
"luminance": 0.03343
}Semantic roles & 50–950 ramp
primary
#3F1C7C
secondary
#88B044
accent
#E642AA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F