#4C2095#4C2095
#4C2095 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.175 H 293.3°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2095 |
|---|---|
| RGB | rgb(76, 32, 149) |
| HSL | hsl(263, 65%, 35%) |
| HSV | hsv(263, 79%, 58%) |
| CMYK | cmyk(49%, 78.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.98, 46.28, -56.11) |
| CIE-LCH | lch(25.98, 72.74, 309.51°) |
| OKLab | oklab(38.29% 0.0695 -0.161) |
| OKLCH | oklch(38.29% 0.175 293.3) |
| XYZ | xyz(8.9203, 4.7392, 28.8727) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.80
Indigo
#4B0082
ΔE00 5.09
Indigo (survey)
#380282
ΔE00 5.79
Rebeccapurple
#663399
ΔE00 6.16
Ultramarine
#2000B1
ΔE00 6.96
Royal
#0C1793
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2095 #699520
analogous
#202E95 #4C2095 #862095
triadic
#4C2095 #954C20 #20954C
tetradic
#4C2095 #95202E #699520 #209586
square
#4C2095 #95202E #699520 #209586
split-complementary
#4C2095 #958620 #2E9520
monochromatic
#190A30 #321563 #4C2095 #662BC7 #8755DA
Accessibility & contrast
On white
10.78
#4C2095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4C2095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2095
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2095 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#35415A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4c2095; /* rgb */ color: rgb(76, 32, 149); /* oklch */ color: oklch(38.3% 0.175 293.3);
Tailwind
colors: {
custom: {
50: '#8661b5',
500: '#4c2095',
950: '#000000',
},
}SCSS
$custom: #4c2095; $custom-light: #8661b5; $custom-dark: #000000;
JSON
{
"hex": "#4c2095",
"rgb": {
"r": 76,
"g": 32,
"b": 149
},
"hsl": {
"h": 262.564,
"s": 64.641,
"l": 35.49
},
"oklch": {
"l": 0.38285,
"c": 0.17536,
"h": 293.3
},
"luminance": 0.04739
}Semantic roles & 50–950 ramp
primary
#4C2095
secondary
#96BE53
accent
#E840A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980