#3F1C6D#3F1C6D
#3F1C6D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.132 H 298.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C6D |
|---|---|
| RGB | rgb(63, 28, 109) |
| HSL | hsl(266, 59%, 27%) |
| HSV | hsv(266, 74%, 43%) |
| CMYK | cmyk(42.2%, 74.3%, 0%, 57.3%) |
| CIE-LAB | lab(20.01, 34.90, -40.67) |
| CIE-LCH | lch(20.01, 53.59, 310.63°) |
| OKLab | oklab(32.59% 0.063 -0.1161) |
| OKLCH | oklch(32.59% 0.132 298.5) |
| XYZ | xyz(5.2248, 2.9913, 14.7671) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.84
Indigo
#4B0082
ΔE00 5.55
Indigo (survey)
#380282
ΔE00 5.89
Midnight Blue
#191970
ΔE00 6.37
Dark Indigo
#1F0954
ΔE00 6.77
Dark Royal Blue
#02066F
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C6D #4A6D1C
analogous
#1C226D #3F1C6D #681C6D
triadic
#3F1C6D #6D3F1C #1C6D3F
tetradic
#3F1C6D #6D1C22 #4A6D1C #1C6D68
square
#3F1C6D #6D1C22 #4A6D1C #1C6D68
split-complementary
#3F1C6D #6D681C #226D1C
monochromatic
#0E0618 #230F3C #3F1C6D #5B299E #7838CC
Accessibility & contrast
On white
13.14
#3F1C6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#3F1C6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C6D
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C6D | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#343042
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #3f1c6d; /* rgb */ color: rgb(63, 28, 109); /* oklch */ color: oklch(32.6% 0.132 298.5);
Tailwind
colors: {
custom: {
50: '#795b98',
500: '#3f1c6d',
950: '#000000',
},
}SCSS
$custom: #3f1c6d; $custom-light: #795b98; $custom-dark: #000000;
JSON
{
"hex": "#3f1c6d",
"rgb": {
"r": 63,
"g": 28,
"b": 109
},
"hsl": {
"h": 265.926,
"s": 59.124,
"l": 26.863
},
"oklch": {
"l": 0.32591,
"c": 0.13212,
"h": 298.5
},
"luminance": 0.02991
}Semantic roles & 50–950 ramp
primary
#3F1C6D
secondary
#79A243
accent
#E2459F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E