#3F1CA5#3F1CA5
#3F1CA5 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.198 H 283.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1CA5 |
|---|---|
| RGB | rgb(63, 28, 165) |
| HSL | hsl(255, 71%, 38%) |
| HSV | hsv(255, 83%, 65%) |
| CMYK | cmyk(61.8%, 83%, 0%, 35.3%) |
| CIE-LAB | lab(25.57, 50.83, -66.61) |
| CIE-LCH | lch(25.57, 83.79, 307.35°) |
| OKLab | oklab(38.16% 0.0463 -0.192) |
| OKLCH | oklch(38.16% 0.198 283.6) |
| XYZ | xyz(9.2546, 4.6032, 35.9909) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.70
Ultramarine
#2000B1
ΔE00 4.22
Cobalt Blue
#030AA7
ΔE00 4.85
Royal Blue (survey)
#0504AA
ΔE00 4.98
Violet Blue
#510AC9
ΔE00 5.22
Royal
#0C1793
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1CA5 #82A51C
analogous
#1C3EA5 #3F1CA5 #831CA5
triadic
#3F1CA5 #A53F1C #1CA53F
tetradic
#3F1CA5 #A51C3E #82A51C #1CA583
square
#3F1CA5 #A51C3E #82A51C #1CA583
split-complementary
#3F1CA5 #A5831C #3EA51C
monochromatic
#170A3C #2B1371 #3F1CA5 #5325D9 #7C59E3
Accessibility & contrast
On white
10.93
#3F1CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3F1CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1CA5
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1CA5 | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3f1ca5; /* rgb */ color: rgb(63, 28, 165); /* oklch */ color: oklch(38.2% 0.198 283.6);
Tailwind
colors: {
custom: {
50: '#825fc1',
500: '#3f1ca5',
950: '#000000',
},
}SCSS
$custom: #3f1ca5; $custom-light: #825fc1; $custom-dark: #000000;
JSON
{
"hex": "#3f1ca5",
"rgb": {
"r": 63,
"g": 28,
"b": 165
},
"hsl": {
"h": 255.328,
"s": 70.984,
"l": 37.843
},
"oklch": {
"l": 0.38159,
"c": 0.19756,
"h": 283.6
},
"luminance": 0.04604
}Semantic roles & 50–950 ramp
primary
#3F1CA5
secondary
#AAC656
accent
#EE3AC0
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981