#3F1C93#3F1C93
#3F1C93 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.177 H 287.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C93 |
|---|---|
| RGB | rgb(63, 28, 147) |
| HSL | hsl(258, 68%, 34%) |
| HSV | hsv(258, 81%, 58%) |
| CMYK | cmyk(57.1%, 81%, 0%, 42.4%) |
| CIE-LAB | lab(23.65, 45.73, -58.76) |
| CIE-LCH | lch(23.65, 74.46, 307.89°) |
| OKLab | oklab(36.26% 0.0524 -0.1692) |
| OKLCH | oklch(36.26% 0.177 287.2) |
| XYZ | xyz(7.7300, 3.9934, 27.9616) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.19
Indigo (survey)
#380282
ΔE00 4.48
Royal
#0C1793
ΔE00 4.91
Indigo
#4B0082
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.55
Ultramarine
#2000B1
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C93 #70931C
analogous
#1C3593 #3F1C93 #7B1C93
triadic
#3F1C93 #933F1C #1C933F
tetradic
#3F1C93 #931C35 #70931C #1C937B
square
#3F1C93 #931C35 #70931C #1C937B
split-complementary
#3F1C93 #937B1C #35931C
monochromatic
#13082C #291260 #3F1C93 #5526C6 #774CDD
Accessibility & contrast
On white
11.67
#3F1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#3F1C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C93
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C93 | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#183F58
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3f1c93; /* rgb */ color: rgb(63, 28, 147); /* oklch */ color: oklch(36.3% 0.177 287.2);
Tailwind
colors: {
custom: {
50: '#7f5db4',
500: '#3f1c93',
950: '#000000',
},
}SCSS
$custom: #3f1c93; $custom-light: #7f5db4; $custom-dark: #000000;
JSON
{
"hex": "#3f1c93",
"rgb": {
"r": 63,
"g": 28,
"b": 147
},
"hsl": {
"h": 257.647,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.36258,
"c": 0.17711,
"h": 287.2
},
"luminance": 0.03994
}Semantic roles & 50–950 ramp
primary
#3F1C93
secondary
#9DBF4C
accent
#EB3DB8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980