#3F1C9B#3F1C9B
#3F1C9B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.186 H 285.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1C9B |
|---|---|
| RGB | rgb(63, 28, 155) |
| HSL | hsl(257, 69%, 36%) |
| HSV | hsv(257, 82%, 61%) |
| CMYK | cmyk(59.4%, 81.9%, 0%, 39.2%) |
| CIE-LAB | lab(24.49, 48.00, -62.30) |
| CIE-LCH | lch(24.49, 78.65, 307.62°) |
| OKLab | oklab(37.09% 0.0498 -0.1795) |
| OKLCH | oklch(37.09% 0.186 285.5) |
| XYZ | xyz(8.3798, 4.2533, 31.3834) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.03
Ultramarine
#2000B1
ΔE00 4.81
Royal
#0C1793
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.05
Indigo (survey)
#380282
ΔE00 5.22
Royal Blue (survey)
#0504AA
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1C9B #789B1C
analogous
#1C399B #3F1C9B #7E1C9B
triadic
#3F1C9B #9B3F1C #1C9B3F
tetradic
#3F1C9B #9B1C39 #789B1C #1C9B7E
square
#3F1C9B #9B1C39 #789B1C #1C9B7E
split-complementary
#3F1C9B #9B7E1C #399B1C
monochromatic
#150933 #2A1367 #3F1C9B #5425CF #7952E0
Accessibility & contrast
On white
11.35
#3F1C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3F1C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1C9B
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1C9B | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#0A425C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3f1c9b; /* rgb */ color: rgb(63, 28, 155); /* oklch */ color: oklch(37.1% 0.186 285.5);
Tailwind
colors: {
custom: {
50: '#805eba',
500: '#3f1c9b',
950: '#000000',
},
}SCSS
$custom: #3f1c9b; $custom-light: #805eba; $custom-dark: #000000;
JSON
{
"hex": "#3f1c9b",
"rgb": {
"r": 63,
"g": 28,
"b": 155
},
"hsl": {
"h": 256.535,
"s": 69.399,
"l": 35.882
},
"oklch": {
"l": 0.37093,
"c": 0.18626,
"h": 285.5
},
"luminance": 0.04254
}Semantic roles & 50–950 ramp
primary
#3F1C9B
secondary
#A3C350
accent
#EC3CBC
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0512
muted
#7C7981