#4A1C97#4A1C97
#4A1C97 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.181 H 292.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1C97 |
|---|---|
| RGB | rgb(74, 28, 151) |
| HSL | hsl(262, 69%, 35%) |
| HSV | hsv(262, 81%, 59%) |
| CMYK | cmyk(51%, 81.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.32, 48.28, -58.43) |
| CIE-LCH | lch(25.32, 75.80, 309.57°) |
| OKLab | oklab(37.83% 0.0687 -0.1678) |
| OKLCH | oklch(37.83% 0.181 292.3) |
| XYZ | xyz(8.8236, 4.5204, 29.6798) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.23
Indigo
#4B0082
ΔE00 4.78
Indigo (survey)
#380282
ΔE00 5.28
Ultramarine
#2000B1
ΔE00 6.19
Royal
#0C1793
ΔE00 6.55
Cobalt Blue
#030AA7
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1C97 #69971C
analogous
#1C2C97 #4A1C97 #871C97
triadic
#4A1C97 #974A1C #1C974A
tetradic
#4A1C97 #971C2C #69971C #1C9787
square
#4A1C97 #971C2C #69971C #1C9787
split-complementary
#4A1C97 #97871C #2C971C
monochromatic
#170930 #311263 #4A1C97 #6326CB #854FDE
Accessibility & contrast
On white
11.03
#4A1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#4A1C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1C97
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1C97 | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#30405A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4a1c97; /* rgb */ color: rgb(74, 28, 151); /* oklch */ color: oklch(37.8% 0.181 292.3);
Tailwind
colors: {
custom: {
50: '#855fb7',
500: '#4a1c97',
950: '#000000',
},
}SCSS
$custom: #4a1c97; $custom-light: #855fb7; $custom-dark: #000000;
JSON
{
"hex": "#4a1c97",
"rgb": {
"r": 74,
"g": 28,
"b": 151
},
"hsl": {
"h": 262.439,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.37832,
"c": 0.18135,
"h": 292.3
},
"luminance": 0.04521
}Semantic roles & 50–950 ramp
primary
#4A1C97
secondary
#96C14E
accent
#EC3CAA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980