#3F1C9D#3F1C9D
#3F1C9D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.189 H 285.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C9D |
|---|---|
| RGB | rgb(63, 28, 157) |
| HSL | hsl(256, 70%, 36%) |
| HSV | hsv(256, 82%, 62%) |
| CMYK | cmyk(59.9%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(24.71, 48.57, -63.17) |
| CIE-LCH | lch(24.71, 79.68, 307.56°) |
| OKLab | oklab(37.3% 0.0491 -0.182) |
| OKLCH | oklch(37.3% 0.189 285.1) |
| XYZ | xyz(8.5491, 4.3211, 32.2753) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.76
Ultramarine
#2000B1
ΔE00 4.66
Cobalt Blue
#030AA7
ΔE00 4.98
Royal
#0C1793
ΔE00 5.00
Royal Blue (survey)
#0504AA
ΔE00 5.18
Indigo (survey)
#380282
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C9D #7A9D1C
analogous
#1C3A9D #3F1C9D #801C9D
triadic
#3F1C9D #9D3F1C #1C9D3F
tetradic
#3F1C9D #9D1C3A #7A9D1C #1C9D80
square
#3F1C9D #9D1C3A #7A9D1C #1C9D80
split-complementary
#3F1C9D #9D801C #3A9D1C
monochromatic
#150935 #2A1369 #3F1C9D #5425D1 #7953E0
Accessibility & contrast
On white
11.26
#3F1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3F1C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C9D
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C9D | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#04435E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f1c9d; /* rgb */ color: rgb(63, 28, 157); /* oklch */ color: oklch(37.3% 0.189 285.1);
Tailwind
colors: {
custom: {
50: '#805ebb',
500: '#3f1c9d',
950: '#000000',
},
}SCSS
$custom: #3f1c9d; $custom-light: #805ebb; $custom-dark: #000000;
JSON
{
"hex": "#3f1c9d",
"rgb": {
"r": 63,
"g": 28,
"b": 157
},
"hsl": {
"h": 256.279,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.37304,
"c": 0.18853,
"h": 285.1
},
"luminance": 0.04322
}Semantic roles & 50–950 ramp
primary
#3F1C9D
secondary
#A4C351
accent
#ED3BBC
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0512
muted
#7C7981