#4C2695#4C2695
#4C2695 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.169 H 292.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2695 |
|---|---|
| RGB | rgb(76, 38, 149) |
| HSL | hsl(261, 59%, 37%) |
| HSV | hsv(261, 74%, 58%) |
| CMYK | cmyk(49%, 74.5%, 0%, 41.6%) |
| CIE-LAB | lab(27.00, 43.38, -54.45) |
| CIE-LCH | lch(27.00, 69.62, 308.55°) |
| OKLab | oklab(39% 0.0643 -0.1562) |
| OKLCH | oklch(39% 0.169 292.4) |
| XYZ | xyz(9.0969, 5.0923, 28.9316) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.20
Rebeccapurple
#663399
ΔE00 5.53
Indigo
#4B0082
ΔE00 6.12
Indigo (survey)
#380282
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 6.90
Royal
#0C1793
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2695 #6F9526
analogous
#263795 #4C2695 #842695
triadic
#4C2695 #954C26 #26954C
tetradic
#4C2695 #952637 #6F9526 #269584
square
#4C2695 #952637 #6F9526 #269584
split-complementary
#4C2695 #958426 #379526
monochromatic
#1A0D33 #331A64 #4C2695 #6532C6 #885FD6
Accessibility & contrast
On white
10.40
#4C2695 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#4C2695 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2695
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2695 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2695 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#35435B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4c2695; /* rgb */ color: rgb(76, 38, 149); /* oklch */ color: oklch(39.0% 0.169 292.4);
Tailwind
colors: {
custom: {
50: '#8664b5',
500: '#4c2695',
950: '#000000',
},
}SCSS
$custom: #4c2695; $custom-light: #8664b5; $custom-dark: #000000;
JSON
{
"hex": "#4c2695",
"rgb": {
"r": 76,
"g": 38,
"b": 149
},
"hsl": {
"h": 260.541,
"s": 59.358,
"l": 36.667
},
"oklch": {
"l": 0.39,
"c": 0.1689,
"h": 292.4
},
"luminance": 0.05093
}Semantic roles & 50–950 ramp
primary
#4C2695
secondary
#9BBB5B
accent
#E345AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80