#4C2F90#4C2F90
#4C2F90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.152 H 291.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2F90 |
|---|---|
| RGB | rgb(76, 47, 144) |
| HSL | hsl(258, 51%, 37%) |
| HSV | hsv(258, 67%, 56%) |
| CMYK | cmyk(47.2%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(28.33, 37.05, -49.18) |
| CIE-LCH | lch(28.33, 61.58, 306.99°) |
| OKLab | oklab(39.82% 0.0562 -0.1407) |
| OKLCH | oklch(39.82% 0.152 291.8) |
| XYZ | xyz(9.0296, 5.5828, 26.9820) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.63
Rebeccapurple
#663399
ΔE00 4.98
Blueberry
#464196
ΔE00 5.74
Indigo Blue
#3A18B1
ΔE00 7.01
Ocean Blue
#4F42B5
ΔE00 7.41
Indigo
#4B0082
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2F90 #73902F
analogous
#2F4390 #4C2F90 #7C2F90
triadic
#4C2F90 #904C2F #2F904C
tetradic
#4C2F90 #902F43 #73902F #2F907C
square
#4C2F90 #902F43 #73902F #2F907C
split-complementary
#4C2F90 #907C2F #43902F
monochromatic
#1B1134 #342062 #4C2F90 #643EBE #896BCF
Accessibility & contrast
On white
9.92
#4C2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4C2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2F90
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2F90 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#37465B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4c2f90; /* rgb */ color: rgb(76, 47, 144); /* oklch */ color: oklch(39.8% 0.152 291.8);
Tailwind
colors: {
custom: {
50: '#8469b1',
500: '#4c2f90',
950: '#000000',
},
}SCSS
$custom: #4c2f90; $custom-light: #8469b1; $custom-dark: #000000;
JSON
{
"hex": "#4c2f90",
"rgb": {
"r": 76,
"g": 47,
"b": 144
},
"hsl": {
"h": 257.938,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.39823,
"c": 0.15157,
"h": 291.8
},
"luminance": 0.05583
}Semantic roles & 50–950 ramp
primary
#4C2F90
secondary
#9EB665
accent
#DA4EB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80