#3F1C9F#3F1C9F
#3F1C9F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.191 H 284.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C9F |
|---|---|
| RGB | rgb(63, 28, 159) |
| HSL | hsl(256, 70%, 37%) |
| HSV | hsv(256, 82%, 62%) |
| CMYK | cmyk(60.4%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(24.92, 49.14, -64.04) |
| CIE-LCH | lch(24.92, 80.72, 307.50°) |
| OKLab | oklab(37.52% 0.0484 -0.1846) |
| OKLCH | oklch(37.52% 0.191 284.7) |
| XYZ | xyz(8.7212, 4.3899, 33.1819) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.48
Ultramarine
#2000B1
ΔE00 4.52
Cobalt Blue
#030AA7
ΔE00 4.91
Royal
#0C1793
ΔE00 5.08
Royal Blue (survey)
#0504AA
ΔE00 5.10
Indigo (survey)
#380282
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C9F #7C9F1C
analogous
#1C3A9F #3F1C9F #811C9F
triadic
#3F1C9F #9F3F1C #1C9F3F
tetradic
#3F1C9F #9F1C3A #7C9F1C #1C9F81
square
#3F1C9F #9F1C3A #7C9F1C #1C9F81
split-complementary
#3F1C9F #9F811C #3A9F1C
monochromatic
#160A37 #2A136B #3F1C9F #5425D3 #7A54E1
Accessibility & contrast
On white
11.18
#3F1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3F1C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C9F
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C9F | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3f1c9f; /* rgb */ color: rgb(63, 28, 159); /* oklch */ color: oklch(37.5% 0.191 284.7);
Tailwind
colors: {
custom: {
50: '#815ebd',
500: '#3f1c9f',
950: '#000000',
},
}SCSS
$custom: #3f1c9f; $custom-light: #815ebd; $custom-dark: #000000;
JSON
{
"hex": "#3f1c9f",
"rgb": {
"r": 63,
"g": 28,
"b": 159
},
"hsl": {
"h": 256.031,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.37516,
"c": 0.1908,
"h": 284.7
},
"luminance": 0.0439
}Semantic roles & 50–950 ramp
primary
#3F1C9F
secondary
#A6C453
accent
#ED3BBD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981