#3A19B3#3A19B3
#3A19B3 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 39.0% C 0.216 H 279.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3A19B3 |
|---|---|
| RGB | rgb(58, 25, 179) |
| HSL | hsl(253, 75%, 40%) |
| HSV | hsv(253, 86%, 70%) |
| CMYK | cmyk(67.6%, 86%, 0%, 29.8%) |
| CIE-LAB | lab(26.30, 55.49, -73.85) |
| CIE-LCH | lch(26.30, 92.37, 306.92°) |
| OKLab | oklab(39.01% 0.0349 -0.2132) |
| OKLCH | oklch(39.01% 0.216 279.3) |
| XYZ | xyz(10.2266, 4.8486, 43.0360) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 0.32
Ultramarine
#2000B1
ΔE00 3.53
True Blue
#010FCC
ΔE00 3.68
Violet Blue
#510AC9
ΔE00 3.96
Mediumblue
#0000CD
ΔE00 4.04
Cobalt Blue
#030AA7
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A19B3 #92B319
analogous
#1945B3 #3A19B3 #8719B3
triadic
#3A19B3 #B33A19 #19B33A
tetradic
#3A19B3 #B31945 #92B319 #19B387
square
#3A19B3 #B31945 #92B319 #19B387
split-complementary
#3A19B3 #B38719 #45B319
monochromatic
#170A48 #29127D #3A19B3 #5028E1 #7C5EE8
Accessibility & contrast
On white
10.66
#3A19B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3A19B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A19B3
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A19B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A19B3 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0038B0
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3a19b3; /* rgb */ color: rgb(58, 25, 179); /* oklch */ color: oklch(39.0% 0.216 279.3);
Tailwind
colors: {
custom: {
50: '#835ecb',
500: '#3a19b3',
950: '#000000',
},
}SCSS
$custom: #3a19b3; $custom-light: #835ecb; $custom-dark: #000000;
JSON
{
"hex": "#3a19b3",
"rgb": {
"r": 58,
"g": 25,
"b": 179
},
"hsl": {
"h": 252.857,
"s": 75.49,
"l": 40
},
"oklch": {
"l": 0.39007,
"c": 0.21602,
"h": 279.3
},
"luminance": 0.04849
}Semantic roles & 50–950 ramp
primary
#3A19B3
secondary
#B4CC5B
accent
#F236CA
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982