#3F1CA1#3F1CA1
#3F1CA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.193 H 284.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1CA1 |
|---|---|
| RGB | rgb(63, 28, 161) |
| HSL | hsl(256, 70%, 37%) |
| HSV | hsv(256, 83%, 63%) |
| CMYK | cmyk(60.9%, 82.6%, 0%, 36.9%) |
| CIE-LAB | lab(25.14, 49.70, -64.90) |
| CIE-LCH | lch(25.14, 81.74, 307.45°) |
| OKLab | oklab(37.73% 0.0477 -0.1871) |
| OKLCH | oklch(37.73% 0.193 284.3) |
| XYZ | xyz(8.8962, 4.4599, 34.1034) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.22
Ultramarine
#2000B1
ΔE00 4.40
Cobalt Blue
#030AA7
ΔE00 4.87
Royal Blue (survey)
#0504AA
ΔE00 5.04
Royal
#0C1793
ΔE00 5.17
Violet Blue
#510AC9
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1CA1 #7EA11C
analogous
#1C3CA1 #3F1CA1 #811CA1
triadic
#3F1CA1 #A13F1C #1CA13F
tetradic
#3F1CA1 #A11C3C #7EA11C #1CA181
square
#3F1CA1 #A11C3C #7EA11C #1CA181
split-complementary
#3F1CA1 #A1811C #3CA11C
monochromatic
#160A39 #2B136D #3F1CA1 #5325D5 #7B56E2
Accessibility & contrast
On white
11.10
#3F1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3F1CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1CA1
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1CA1 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3f1ca1; /* rgb */ color: rgb(63, 28, 161); /* oklch */ color: oklch(37.7% 0.193 284.3);
Tailwind
colors: {
custom: {
50: '#815ebe',
500: '#3f1ca1',
950: '#000000',
},
}SCSS
$custom: #3f1ca1; $custom-light: #815ebe; $custom-dark: #000000;
JSON
{
"hex": "#3f1ca1",
"rgb": {
"r": 63,
"g": 28,
"b": 161
},
"hsl": {
"h": 255.789,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.37729,
"c": 0.19306,
"h": 284.3
},
"luminance": 0.0446
}Semantic roles & 50–950 ramp
primary
#3F1CA1
secondary
#A7C554
accent
#ED3BBE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981