#4B238F#4B238F
#4B238F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.165 H 293.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4B238F |
|---|---|
| RGB | rgb(75, 35, 143) |
| HSL | hsl(262, 61%, 35%) |
| HSV | hsv(262, 76%, 56%) |
| CMYK | cmyk(47.6%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(25.81, 43.04, -52.70) |
| CIE-LCH | lch(25.81, 68.04, 309.24°) |
| OKLab | oklab(37.97% 0.067 -0.1511) |
| OKLCH | oklch(37.97% 0.165 293.9) |
| XYZ | xyz(8.4592, 4.6808, 26.4391) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 5.72
Indigo (survey)
#380282
ΔE00 5.91
Rebeccapurple
#663399
ΔE00 5.97
Royal
#0C1793
ΔE00 7.23
Darkslateblue
#483D8B
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B238F #678F23
analogous
#23318F #4B238F #81238F
triadic
#4B238F #8F4B23 #238F4B
tetradic
#4B238F #8F2331 #678F23 #238F81
square
#4B238F #8F2331 #678F23 #238F81
split-complementary
#4B238F #8F8123 #318F23
monochromatic
#170B2D #31175E #4B238F #652FC0 #8657D6
Accessibility & contrast
On white
10.85
#4B238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4B238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B238F
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B238F | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#374057
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4b238f; /* rgb */ color: rgb(75, 35, 143); /* oklch */ color: oklch(38.0% 0.165 293.9);
Tailwind
colors: {
custom: {
50: '#8462b1',
500: '#4b238f',
950: '#000000',
},
}SCSS
$custom: #4b238f; $custom-light: #8462b1; $custom-dark: #000000;
JSON
{
"hex": "#4b238f",
"rgb": {
"r": 75,
"g": 35,
"b": 143
},
"hsl": {
"h": 262.222,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.37967,
"c": 0.16524,
"h": 293.9
},
"luminance": 0.04681
}Semantic roles & 50–950 ramp
primary
#4B238F
secondary
#94BA54
accent
#E444A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80