#4C268F#4C268F
#4C268F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.162 H 294.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4C268F |
|---|---|
| RGB | rgb(76, 38, 143) |
| HSL | hsl(262, 58%, 35%) |
| HSV | hsv(262, 73%, 56%) |
| CMYK | cmyk(46.9%, 73.4%, 0%, 43.9%) |
| CIE-LAB | lab(26.46, 41.70, -51.61) |
| CIE-LCH | lch(26.46, 66.35, 308.93°) |
| OKLab | oklab(38.46% 0.0657 -0.1479) |
| OKLCH | oklch(38.46% 0.162 294) |
| XYZ | xyz(8.6302, 4.9056, 26.4734) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.52
Indigo
#4B0082
ΔE00 5.76
Indigo Blue
#3A18B1
ΔE00 6.03
Indigo (survey)
#380282
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 6.73
Royal
#0C1793
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C268F #698F26
analogous
#26358F #4C268F #80268F
triadic
#4C268F #8F4C26 #268F4C
tetradic
#4C268F #8F2635 #698F26 #268F80
square
#4C268F #8F2635 #698F26 #268F80
split-complementary
#4C268F #8F8026 #358F26
monochromatic
#190C2E #32195F #4C268F #6633BF #875CD4
Accessibility & contrast
On white
10.60
#4C268F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#4C268F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C268F
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C268F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C268F | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#384158
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4c268f; /* rgb */ color: rgb(76, 38, 143); /* oklch */ color: oklch(38.5% 0.162 294.0);
Tailwind
colors: {
custom: {
50: '#8564b1',
500: '#4c268f',
950: '#000000',
},
}SCSS
$custom: #4c268f; $custom-light: #8564b1; $custom-dark: #000000;
JSON
{
"hex": "#4c268f",
"rgb": {
"r": 76,
"g": 38,
"b": 143
},
"hsl": {
"h": 261.714,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.3846,
"c": 0.16179,
"h": 294
},
"luminance": 0.04906
}Semantic roles & 50–950 ramp
primary
#4C268F
secondary
#96B958
accent
#E147A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80