#4B258E#4B258E
#4B258E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.162 H 293.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4B258E |
|---|---|
| RGB | rgb(75, 37, 142) |
| HSL | hsl(262, 59%, 35%) |
| HSV | hsv(262, 74%, 56%) |
| CMYK | cmyk(47.2%, 73.9%, 0%, 44.3%) |
| CIE-LAB | lab(26.07, 41.75, -51.64) |
| CIE-LCH | lch(26.07, 66.41, 308.96°) |
| OKLab | oklab(38.13% 0.0653 -0.148) |
| OKLCH | oklch(38.13% 0.162 293.8) |
| XYZ | xyz(8.4444, 4.7717, 26.0621) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.53
Rebeccapurple
#663399
ΔE00 5.78
Indigo Blue
#3A18B1
ΔE00 6.01
Indigo (survey)
#380282
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 6.90
Royal
#0C1793
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B258E #688E25
analogous
#25348E #4B258E #7F258E
triadic
#4B258E #8E4B25 #258E4B
tetradic
#4B258E #8E2534 #688E25 #258E7F
square
#4B258E #8E2534 #688E25 #258E7F
split-complementary
#4B258E #8E7F25 #348E25
monochromatic
#180C2D #31185D #4B258E #6532BF #865AD4
Accessibility & contrast
On white
10.74
#4B258E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4B258E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B258E
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B258E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B258E | 1.00 | 10.74 | 1.95 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#374057
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4b258e; /* rgb */ color: rgb(75, 37, 142); /* oklch */ color: oklch(38.1% 0.162 293.8);
Tailwind
colors: {
custom: {
50: '#8463b0',
500: '#4b258e',
950: '#000000',
},
}SCSS
$custom: #4b258e; $custom-light: #8463b0; $custom-dark: #000000;
JSON
{
"hex": "#4b258e",
"rgb": {
"r": 75,
"g": 37,
"b": 142
},
"hsl": {
"h": 261.714,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.38129,
"c": 0.16174,
"h": 293.8
},
"luminance": 0.04772
}Semantic roles & 50–950 ramp
primary
#4B258E
secondary
#95B956
accent
#E246A9
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0511
muted
#7D7A80