#4D2E94#4D2E94
#4D2E94 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.158 H 291.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2E94 |
|---|---|
| RGB | rgb(77, 46, 148) |
| HSL | hsl(258, 53%, 38%) |
| HSV | hsv(258, 69%, 58%) |
| CMYK | cmyk(48%, 68.9%, 0%, 42%) |
| CIE-LAB | lab(28.56, 38.99, -51.27) |
| CIE-LCH | lch(28.56, 64.41, 307.25°) |
| OKLab | oklab(40.12% 0.0582 -0.1468) |
| OKLCH | oklch(40.12% 0.158 291.6) |
| XYZ | xyz(9.3814, 5.6696, 28.6113) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.81
Darkslateblue
#483D8B
ΔE00 5.13
Blueberry
#464196
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 6.40
Ocean Blue
#4F42B5
ΔE00 7.12
Indigo
#4B0082
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2E94 #75942E
analogous
#2E4294 #4D2E94 #802E94
triadic
#4D2E94 #944D2E #2E944D
tetradic
#4D2E94 #942E42 #75942E #2E9480
square
#4D2E94 #942E42 #75942E #2E9480
split-complementary
#4D2E94 #94802E #42942E
monochromatic
#1C1137 #351F65 #4D2E94 #653DC3 #8A6BD1
Accessibility & contrast
On white
9.84
#4D2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4D2E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2E94
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2E94 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#37475D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4d2e94; /* rgb */ color: rgb(77, 46, 148); /* oklch */ color: oklch(40.1% 0.158 291.6);
Tailwind
colors: {
custom: {
50: '#8569b4',
500: '#4d2e94',
950: '#000000',
},
}SCSS
$custom: #4d2e94; $custom-light: #8569b4; $custom-dark: #000000;
JSON
{
"hex": "#4d2e94",
"rgb": {
"r": 77,
"g": 46,
"b": 148
},
"hsl": {
"h": 258.235,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.40115,
"c": 0.15796,
"h": 291.6
},
"luminance": 0.0567
}Semantic roles & 50–950 ramp
primary
#4D2E94
secondary
#9FB866
accent
#DC4CB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80