#4D267F#4D267F
#4D267F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.143 H 299.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4D267F |
|---|---|
| RGB | rgb(77, 38, 127) |
| HSL | hsl(266, 54%, 32%) |
| HSV | hsv(266, 70%, 50%) |
| CMYK | cmyk(39.4%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(25.25, 37.46, -43.59) |
| CIE-LCH | lch(25.25, 57.47, 310.67°) |
| OKLab | oklab(37.2% 0.0702 -0.1242) |
| OKLCH | oklch(37.2% 0.143 299.5) |
| XYZ | xyz(7.5835, 4.4962, 20.5429) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.69
Rebeccapurple
#663399
ΔE00 6.14
Royal Purple (survey)
#4B006E
ΔE00 6.41
Indigo (survey)
#380282
ΔE00 6.93
Darkslateblue
#483D8B
ΔE00 7.02
Midnight Blue
#191970
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D267F #587F26
analogous
#262C7F #4D267F #79267F
triadic
#4D267F #7F4D26 #267F4D
tetradic
#4D267F #7F262C #587F26 #267F79
square
#4D267F #7F262C #587F26 #267F79
split-complementary
#4D267F #7F7926 #2C7F26
monochromatic
#140A21 #301850 #4D267F #6A34AE #8854CC
Accessibility & contrast
On white
11.06
#4D267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#4D267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D267F
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D267F | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#423B4F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4d267f; /* rgb */ color: rgb(77, 38, 127); /* oklch */ color: oklch(37.2% 0.143 299.5);
Tailwind
colors: {
custom: {
50: '#8363a5',
500: '#4d267f',
950: '#000000',
},
}SCSS
$custom: #4d267f; $custom-light: #8363a5; $custom-dark: #000000;
JSON
{
"hex": "#4d267f",
"rgb": {
"r": 77,
"g": 38,
"b": 127
},
"hsl": {
"h": 266.292,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.37203,
"c": 0.14269,
"h": 299.5
},
"luminance": 0.04496
}Semantic roles & 50–950 ramp
primary
#4D267F
secondary
#86B051
accent
#DD4A9D
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F