#4A197E#4A197E
#4A197E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.157 H 300.2°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4A197E |
|---|---|
| RGB | rgb(74, 25, 126) |
| HSL | hsl(269, 67%, 30%) |
| HSV | hsv(269, 80%, 49%) |
| CMYK | cmyk(41.3%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(22.50, 42.98, -47.44) |
| CIE-LCH | lch(22.50, 64.02, 312.17°) |
| OKLab | oklab(35.15% 0.079 -0.1356) |
| OKLCH | oklch(35.15% 0.157 300.2) |
| XYZ | xyz(6.9366, 3.6574, 20.0751) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.04
Royal Purple (survey)
#4B006E
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 4.52
Rebeccapurple
#663399
ΔE00 7.83
Midnight Blue
#191970
ΔE00 7.85
Indigo Blue
#3A18B1
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A197E #4D7E19
analogous
#191B7E #4A197E #7D197E
triadic
#4A197E #7E4A19 #197E4A
tetradic
#4A197E #7E191B #4D7E19 #197E7D
square
#4A197E #7E191B #4D7E19 #197E7D
split-complementary
#4A197E #7E7D19 #1B7E19
monochromatic
#0F051A #2C0F4B #4A197E #6823B1 #863AD8
Accessibility & contrast
On white
12.13
#4A197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#4A197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A197E
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A197E | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#3E344B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4a197e; /* rgb */ color: rgb(74, 25, 126); /* oklch */ color: oklch(35.1% 0.157 300.2);
Tailwind
colors: {
custom: {
50: '#825ca4',
500: '#4a197e',
950: '#000000',
},
}SCSS
$custom: #4a197e; $custom-light: #825ca4; $custom-dark: #000000;
JSON
{
"hex": "#4a197e",
"rgb": {
"r": 74,
"g": 25,
"b": 126
},
"hsl": {
"h": 269.109,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.35146,
"c": 0.15692,
"h": 300.2
},
"luminance": 0.03657
}Semantic roles & 50–950 ramp
primary
#4A197E
secondary
#7BB241
accent
#EA3E96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F