#4C2294#4C2294
#4C2294 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.172 H 293.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2294 |
|---|---|
| RGB | rgb(76, 34, 148) |
| HSL | hsl(262, 63%, 36%) |
| HSV | hsv(262, 77%, 58%) |
| CMYK | cmyk(48.6%, 77%, 0%, 42%) |
| CIE-LAB | lab(26.21, 45.07, -55.12) |
| CIE-LCH | lch(26.21, 71.20, 309.28°) |
| OKLab | oklab(38.42% 0.0681 -0.1581) |
| OKLCH | oklch(38.42% 0.172 293.3) |
| XYZ | xyz(8.8963, 4.8184, 28.4725) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.03
Indigo
#4B0082
ΔE00 5.32
Rebeccapurple
#663399
ΔE00 5.93
Indigo (survey)
#380282
ΔE00 6.03
Royal
#0C1793
ΔE00 7.15
Ultramarine
#2000B1
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2294 #6A9422
analogous
#223194 #4C2294 #852294
triadic
#4C2294 #944C22 #22944C
tetradic
#4C2294 #942231 #6A9422 #229485
square
#4C2294 #942231 #6A9422 #229485
split-complementary
#4C2294 #948522 #319422
monochromatic
#190B30 #321762 #4C2294 #662DC6 #8758D9
Accessibility & contrast
On white
10.69
#4C2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4C2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2294
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2294 | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#36415A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c2294; /* rgb */ color: rgb(76, 34, 148); /* oklch */ color: oklch(38.4% 0.172 293.3);
Tailwind
colors: {
custom: {
50: '#8662b4',
500: '#4c2294',
950: '#000000',
},
}SCSS
$custom: #4c2294; $custom-light: #8662b4; $custom-dark: #000000;
JSON
{
"hex": "#4c2294",
"rgb": {
"r": 76,
"g": 34,
"b": 148
},
"hsl": {
"h": 262.105,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.3842,
"c": 0.17215,
"h": 293.3
},
"luminance": 0.04819
}Semantic roles & 50–950 ramp
primary
#4C2294
secondary
#97BD55
accent
#E642A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80