#3F17B4#3F17B4
#3F17B4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.4% C 0.217 H 281.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3F17B4 |
|---|---|
| RGB | rgb(63, 23, 180) |
| HSL | hsl(255, 77%, 40%) |
| HSV | hsv(255, 87%, 71%) |
| CMYK | cmyk(65%, 87.2%, 0%, 29.4%) |
| CIE-LAB | lab(26.63, 56.85, -73.88) |
| CIE-LCH | lch(26.63, 93.22, 307.58°) |
| OKLab | oklab(39.38% 0.043 -0.2131) |
| OKLCH | oklch(39.38% 0.217 281.4) |
| XYZ | xyz(10.5919, 4.9640, 43.5712) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 0.71
Violet Blue
#510AC9
ΔE00 3.47
Ultramarine
#2000B1
ΔE00 3.75
True Blue
#010FCC
ΔE00 3.92
Mediumblue
#0000CD
ΔE00 4.19
Ultramarine Blue
#1805DB
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F17B4 #8CB417
analogous
#173DB4 #3F17B4 #8E17B4
triadic
#3F17B4 #B43F17 #17B43F
tetradic
#3F17B4 #B4173D #8CB417 #17B48E
square
#3F17B4 #B4173D #8CB417 #17B48E
split-complementary
#3F17B4 #B48E17 #3DB417
monochromatic
#190947 #2C107E #3F17B4 #5525E3 #805BEA
Accessibility & contrast
On white
10.54
#3F17B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3F17B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F17B4
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F17B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F17B4 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3f17b4; /* rgb */ color: rgb(63, 23, 180); /* oklch */ color: oklch(39.4% 0.217 281.4);
Tailwind
colors: {
custom: {
50: '#855ecc',
500: '#3f17b4',
950: '#000000',
},
}SCSS
$custom: #3f17b4; $custom-light: #855ecc; $custom-dark: #000000;
JSON
{
"hex": "#3f17b4",
"rgb": {
"r": 63,
"g": 23,
"b": 180
},
"hsl": {
"h": 255.287,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.39379,
"c": 0.21743,
"h": 281.4
},
"luminance": 0.04965
}Semantic roles & 50–950 ramp
primary
#3F17B4
secondary
#B0CE59
accent
#F434C3
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0D0514
muted
#7D7982