#4C267D#4C267D
#4C267D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.140 H 299.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4C267D |
|---|---|
| RGB | rgb(76, 38, 125) |
| HSL | hsl(266, 53%, 32%) |
| HSV | hsv(266, 70%, 49%) |
| CMYK | cmyk(39.2%, 69.6%, 0%, 51%) |
| CIE-LAB | lab(24.96, 36.69, -42.80) |
| CIE-LCH | lch(24.96, 56.37, 310.61°) |
| OKLab | oklab(36.92% 0.069 -0.1219) |
| OKLCH | oklch(36.92% 0.14 299.5) |
| XYZ | xyz(7.3744, 4.4033, 19.8595) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.80
Royal Purple (survey)
#4B006E
ΔE00 6.35
Rebeccapurple
#663399
ΔE00 6.43
Indigo (survey)
#380282
ΔE00 6.98
Darkslateblue
#483D8B
ΔE00 7.05
Midnight Blue
#191970
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C267D #577D26
analogous
#262C7D #4C267D #78267D
triadic
#4C267D #7D4C26 #267D4C
tetradic
#4C267D #7D262C #577D26 #267D78
square
#4C267D #7D262C #577D26 #267D78
split-complementary
#4C267D #7D7826 #2C7D26
monochromatic
#13091F #2F184E #4C267D #6934AC #8753CB
Accessibility & contrast
On white
11.17
#4C267D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#4C267D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C267D
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C267D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C267D | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#413A4E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #4c267d; /* rgb */ color: rgb(76, 38, 125); /* oklch */ color: oklch(36.9% 0.140 299.5);
Tailwind
colors: {
custom: {
50: '#8263a3',
500: '#4c267d',
950: '#000000',
},
}SCSS
$custom: #4c267d; $custom-light: #8263a3; $custom-dark: #000000;
JSON
{
"hex": "#4c267d",
"rgb": {
"r": 76,
"g": 38,
"b": 125
},
"hsl": {
"h": 266.207,
"s": 53.374,
"l": 31.961
},
"oklch": {
"l": 0.3692,
"c": 0.14009,
"h": 299.5
},
"luminance": 0.04403
}Semantic roles & 50–950 ramp
primary
#4C267D
secondary
#85AF50
accent
#DD4B9D
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F