#4B197C#4B197C
#4B197C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.155 H 301.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4B197C |
|---|---|
| RGB | rgb(75, 25, 124) |
| HSL | hsl(270, 66%, 29%) |
| HSV | hsv(270, 80%, 49%) |
| CMYK | cmyk(39.5%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(22.47, 42.64, -46.23) |
| CIE-LCH | lch(22.47, 62.90, 312.69°) |
| OKLab | oklab(35.09% 0.0811 -0.132) |
| OKLCH | oklch(35.09% 0.155 301.6) |
| XYZ | xyz(6.8865, 3.6463, 19.4059) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.17
Royal Purple (survey)
#4B006E
ΔE00 3.95
Indigo (survey)
#380282
ΔE00 4.81
Rebeccapurple
#663399
ΔE00 7.87
Midnight Blue
#191970
ΔE00 8.07
Indigo Blue
#3A18B1
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B197C #4A7C19
analogous
#1A197C #4B197C #7C197C
triadic
#4B197C #7C4B19 #197C4B
tetradic
#4B197C #7C1A19 #4A7C19 #197C7C
square
#4B197C #7C1A19 #4A7C19 #197C7C
split-complementary
#4B197C #7C7C19 #197C1A
monochromatic
#0F0519 #2C0F49 #4B197C #6A23AF #8938D7
Accessibility & contrast
On white
12.14
#4B197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#4B197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B197C
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B197C | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#40334A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4b197c; /* rgb */ color: rgb(75, 25, 124); /* oklch */ color: oklch(35.1% 0.155 301.6);
Tailwind
colors: {
custom: {
50: '#835ca3',
500: '#4b197c',
950: '#000000',
},
}SCSS
$custom: #4b197c; $custom-light: #835ca3; $custom-dark: #000000;
JSON
{
"hex": "#4b197c",
"rgb": {
"r": 75,
"g": 25,
"b": 124
},
"hsl": {
"h": 270.303,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.35094,
"c": 0.15492,
"h": 301.6
},
"luminance": 0.03646
}Semantic roles & 50–950 ramp
primary
#4B197C
secondary
#78B040
accent
#E93E93
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F