#3A149F#3A149F
#3A149F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.3% C 0.197 H 283.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3A149F |
|---|---|
| RGB | rgb(58, 20, 159) |
| HSL | hsl(256, 78%, 35%) |
| HSV | hsv(256, 87%, 62%) |
| CMYK | cmyk(63.5%, 87.4%, 0%, 37.6%) |
| CIE-LAB | lab(23.35, 51.79, -66.66) |
| CIE-LCH | lch(23.35, 84.41, 307.85°) |
| OKLab | oklab(36.32% 0.0443 -0.1922) |
| OKLCH | oklch(36.32% 0.197 283) |
| XYZ | xyz(8.2511, 3.9025, 33.1126) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.57
Ultramarine
#2000B1
ΔE00 3.44
Cobalt Blue
#030AA7
ΔE00 3.85
Royal Blue (survey)
#0504AA
ΔE00 3.96
Royal
#0C1793
ΔE00 4.44
Indigo (survey)
#380282
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A149F #799F14
analogous
#14339F #3A149F #80149F
triadic
#3A149F #9F3A14 #149F3A
tetradic
#3A149F #9F1433 #799F14 #149F80
square
#3A149F #9F1433 #799F14 #149F80
split-complementary
#3A149F #9F8014 #339F14
monochromatic
#120632 #260D69 #3A149F #4E1BD5 #7246E8
Accessibility & contrast
On white
11.79
#3A149F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#3A149F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A149F
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A149F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A149F | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #3a149f; /* rgb */ color: rgb(58, 20, 159); /* oklch */ color: oklch(36.3% 0.197 283.0);
Tailwind
colors: {
custom: {
50: '#7f5abd',
500: '#3a149f',
950: '#000000',
},
}SCSS
$custom: #3a149f; $custom-light: #7f5abd; $custom-dark: #000000;
JSON
{
"hex": "#3a149f",
"rgb": {
"r": 58,
"g": 20,
"b": 159
},
"hsl": {
"h": 256.403,
"s": 77.654,
"l": 35.098
},
"oklch": {
"l": 0.36315,
"c": 0.19724,
"h": 283
},
"luminance": 0.03903
}Semantic roles & 50–950 ramp
primary
#3A149F
secondary
#A5C846
accent
#F434C0
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981