#4C2F88#4C2F88
#4C2F88 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.141 H 293.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2F88 |
|---|---|
| RGB | rgb(76, 47, 136) |
| HSL | hsl(260, 49%, 36%) |
| HSV | hsv(260, 65%, 53%) |
| CMYK | cmyk(44.1%, 65.4%, 0%, 46.7%) |
| CIE-LAB | lab(27.70, 34.70, -45.26) |
| CIE-LCH | lch(27.70, 57.03, 307.48°) |
| OKLab | oklab(39.17% 0.0572 -0.1292) |
| OKLCH | oklch(39.17% 0.141 293.9) |
| XYZ | xyz(8.4397, 5.3469, 23.8752) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.48
Rebeccapurple
#663399
ΔE00 5.25
Blueberry
#464196
ΔE00 6.11
Indigo
#4B0082
ΔE00 7.79
Indigo Blue
#3A18B1
ΔE00 8.17
Ocean Blue
#4F42B5
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2F88 #6B882F
analogous
#2F3E88 #4C2F88 #782F88
triadic
#4C2F88 #884C2F #2F884C
tetradic
#4C2F88 #882F3E #6B882F #2F8878
square
#4C2F88 #882F3E #6B882F #2F8878
split-complementary
#4C2F88 #88782F #3E882F
monochromatic
#19102D #331F5B #4C2F88 #653FB5 #8767CA
Accessibility & contrast
On white
10.15
#4C2F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4C2F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2F88
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2F88 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#3C4457
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c2f88; /* rgb */ color: rgb(76, 47, 136); /* oklch */ color: oklch(39.2% 0.141 293.9);
Tailwind
colors: {
custom: {
50: '#8369ab',
500: '#4c2f88',
950: '#000000',
},
}SCSS
$custom: #4c2f88; $custom-light: #8369ab; $custom-dark: #000000;
JSON
{
"hex": "#4c2f88",
"rgb": {
"r": 76,
"g": 47,
"b": 136
},
"hsl": {
"h": 259.551,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.39166,
"c": 0.14128,
"h": 293.9
},
"luminance": 0.05347
}Semantic roles & 50–950 ramp
primary
#4C2F88
secondary
#97B161
accent
#D850AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F