#3F1DC3#3F1DC3
#3F1DC3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.6% C 0.230 H 278.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1DC3 |
|---|---|
| RGB | rgb(63, 29, 195) |
| HSL | hsl(252, 74%, 44%) |
| HSV | hsv(252, 85%, 76%) |
| CMYK | cmyk(67.7%, 85.1%, 0%, 23.5%) |
| CIE-LAB | lab(29.09, 58.78, -78.69) |
| CIE-LCH | lch(29.09, 98.22, 306.76°) |
| OKLab | oklab(41.56% 0.0355 -0.2272) |
| OKLCH | oklch(41.56% 0.23 278.9) |
| XYZ | xyz(12.3364, 5.8746, 52.1030) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet Blue
#510AC9
ΔE00 2.57
Indigo Blue
#3A18B1
ΔE00 2.70
Ultramarine Blue
#1805DB
ΔE00 3.54
True Blue
#010FCC
ΔE00 3.54
Pure Blue
#0203E2
ΔE00 4.12
Mediumblue
#0000CD
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1DC3 #A1C31D
analogous
#1D4EC3 #3F1DC3 #921DC3
triadic
#3F1DC3 #C33F1D #1DC33F
tetradic
#3F1DC3 #C31D4E #A1C31D #1DC392
square
#3F1DC3 #C31D4E #A1C31D #1DC392
split-complementary
#3F1DC3 #C3921D #4EC31D
monochromatic
#1D0D58 #2E158E #3F1DC3 #5D3BE2 #8971EA
Accessibility & contrast
On white
9.65
#3F1DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#3F1DC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1DC3
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1DC3 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BC7
Deuteranopia (green-blind)
#003EC0
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3f1dc3; /* rgb */ color: rgb(63, 29, 195); /* oklch */ color: oklch(41.6% 0.230 278.9);
Tailwind
colors: {
custom: {
50: '#8861d7',
500: '#3f1dc3',
950: '#000000',
},
}SCSS
$custom: #3f1dc3; $custom-light: #8861d7; $custom-dark: #000000;
JSON
{
"hex": "#3f1dc3",
"rgb": {
"r": 63,
"g": 29,
"b": 195
},
"hsl": {
"h": 252.289,
"s": 74.107,
"l": 43.922
},
"oklch": {
"l": 0.4156,
"c": 0.22995,
"h": 278.9
},
"luminance": 0.05876
}Semantic roles & 50–950 ramp
primary
#3F1DC3
secondary
#BCD06C
accent
#F137CB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83