#4C2F89#4C2F89
#4C2F89 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.143 H 293.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2F89 |
|---|---|
| RGB | rgb(76, 47, 137) |
| HSL | hsl(259, 49%, 36%) |
| HSV | hsv(259, 66%, 54%) |
| CMYK | cmyk(44.5%, 65.7%, 0%, 46.3%) |
| CIE-LAB | lab(27.78, 34.99, -45.75) |
| CIE-LCH | lch(27.78, 57.60, 307.41°) |
| OKLab | oklab(39.25% 0.0571 -0.1307) |
| OKLCH | oklch(39.25% 0.143 293.6) |
| XYZ | xyz(8.5111, 5.3754, 24.2512) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.48
Rebeccapurple
#663399
ΔE00 5.20
Blueberry
#464196
ΔE00 6.05
Indigo
#4B0082
ΔE00 7.78
Indigo Blue
#3A18B1
ΔE00 8.01
Ocean Blue
#4F42B5
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2F89 #6C892F
analogous
#2F3F89 #4C2F89 #792F89
triadic
#4C2F89 #894C2F #2F894C
tetradic
#4C2F89 #892F3F #6C892F #2F8979
square
#4C2F89 #892F3F #6C892F #2F8979
split-complementary
#4C2F89 #89792F #3F892F
monochromatic
#19102E #331F5B #4C2F89 #653FB7 #8767CB
Accessibility & contrast
On white
10.12
#4C2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#4C2F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2F89
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2F89 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#3B4457
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4c2f89; /* rgb */ color: rgb(76, 47, 137); /* oklch */ color: oklch(39.2% 0.143 293.6);
Tailwind
colors: {
custom: {
50: '#8369ac',
500: '#4c2f89',
950: '#000000',
},
}SCSS
$custom: #4c2f89; $custom-light: #8369ac; $custom-dark: #000000;
JSON
{
"hex": "#4c2f89",
"rgb": {
"r": 76,
"g": 47,
"b": 137
},
"hsl": {
"h": 259.333,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.39247,
"c": 0.14257,
"h": 293.6
},
"luminance": 0.05376
}Semantic roles & 50–950 ramp
primary
#4C2F89
secondary
#98B262
accent
#D84FAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F