#4B197E#4B197E
#4B197E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.157 H 300.8°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4B197E |
|---|---|
| RGB | rgb(75, 25, 126) |
| HSL | hsl(270, 67%, 30%) |
| HSV | hsv(270, 80%, 49%) |
| CMYK | cmyk(40.5%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(22.64, 43.15, -47.21) |
| CIE-LCH | lch(22.64, 63.96, 312.43°) |
| OKLab | oklab(35.28% 0.0805 -0.1349) |
| OKLCH | oklch(35.28% 0.157 300.8) |
| XYZ | xyz(7.0142, 3.6974, 20.0787) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.05
Royal Purple (survey)
#4B006E
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 4.65
Rebeccapurple
#663399
ΔE00 7.73
Midnight Blue
#191970
ΔE00 8.04
Indigo Blue
#3A18B1
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B197E #4C7E19
analogous
#191A7E #4B197E #7E197E
triadic
#4B197E #7E4B19 #197E4B
tetradic
#4B197E #7E191A #4C7E19 #197E7E
square
#4B197E #7E191A #4C7E19 #197E7E
split-complementary
#4B197E #7E7E19 #1A7E19
monochromatic
#0F051A #2D0F4B #4B197E #6923B1 #883AD8
Accessibility & contrast
On white
12.07
#4B197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#4B197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B197E
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B197E | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#3F344B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4b197e; /* rgb */ color: rgb(75, 25, 126); /* oklch */ color: oklch(35.3% 0.157 300.8);
Tailwind
colors: {
custom: {
50: '#835ca4',
500: '#4b197e',
950: '#000000',
},
}SCSS
$custom: #4b197e; $custom-light: #835ca4; $custom-dark: #000000;
JSON
{
"hex": "#4b197e",
"rgb": {
"r": 75,
"g": 25,
"b": 126
},
"hsl": {
"h": 269.703,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.35275,
"c": 0.15709,
"h": 300.8
},
"luminance": 0.03697
}Semantic roles & 50–950 ramp
primary
#4B197E
secondary
#7AB241
accent
#EA3E95
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F