#4A197F#4A197F
#4A197F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.158 H 299.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4A197F |
|---|---|
| RGB | rgb(74, 25, 127) |
| HSL | hsl(269, 67%, 30%) |
| HSV | hsv(269, 80%, 50%) |
| CMYK | cmyk(41.7%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(22.60, 43.24, -47.93) |
| CIE-LCH | lch(22.60, 64.55, 312.05°) |
| OKLab | oklab(35.24% 0.0787 -0.137) |
| OKLCH | oklch(35.24% 0.158 299.9) |
| XYZ | xyz(7.0015, 3.6833, 20.4166) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.00
Royal Purple (survey)
#4B006E
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 4.45
Rebeccapurple
#663399
ΔE00 7.77
Midnight Blue
#191970
ΔE00 7.84
Indigo Blue
#3A18B1
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A197F #4E7F19
analogous
#191B7F #4A197F #7D197F
triadic
#4A197F #7F4A19 #197F4A
tetradic
#4A197F #7F191B #4E7F19 #197F7D
square
#4A197F #7F191B #4E7F19 #197F7D
split-complementary
#4A197F #7F7D19 #1B7F19
monochromatic
#0F051A #2C0F4C #4A197F #6823B2 #863AD8
Accessibility & contrast
On white
12.09
#4A197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#4A197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A197F
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A197F | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#3D354C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4a197f; /* rgb */ color: rgb(74, 25, 127); /* oklch */ color: oklch(35.2% 0.158 299.9);
Tailwind
colors: {
custom: {
50: '#825ca5',
500: '#4a197f',
950: '#000000',
},
}SCSS
$custom: #4a197f; $custom-light: #825ca5; $custom-dark: #000000;
JSON
{
"hex": "#4a197f",
"rgb": {
"r": 74,
"g": 25,
"b": 127
},
"hsl": {
"h": 268.824,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.35238,
"c": 0.15802,
"h": 299.9
},
"luminance": 0.03683
}Semantic roles & 50–950 ramp
primary
#4A197F
secondary
#7CB341
accent
#EA3E97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F