#4B239E#4B239E
#4B239E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.183 H 290.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4B239E |
|---|---|
| RGB | rgb(75, 35, 158) |
| HSL | hsl(260, 64%, 38%) |
| HSV | hsv(260, 78%, 62%) |
| CMYK | cmyk(52.5%, 77.8%, 0%, 38%) |
| CIE-LAB | lab(27.20, 47.22, -59.62) |
| CIE-LCH | lch(27.20, 76.06, 308.38°) |
| OKLab | oklab(39.38% 0.0629 -0.1714) |
| OKLCH | oklch(39.38% 0.183 290.2) |
| XYZ | xyz(9.6725, 5.1661, 32.8286) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.77
Violet Blue
#510AC9
ΔE00 5.94
Rebeccapurple
#663399
ΔE00 6.17
Indigo
#4B0082
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.48
Indigo (survey)
#380282
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B239E #769E23
analogous
#23389E #4B239E #88239E
triadic
#4B239E #9E4B23 #239E4B
tetradic
#4B239E #9E2338 #769E23 #239E88
square
#4B239E #9E2338 #769E23 #239E88
split-complementary
#4B239E #9E8823 #389E23
monochromatic
#1B0D3A #33186C #4B239E #632ED0 #8860DC
Accessibility & contrast
On white
10.33
#4B239E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4B239E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B239E
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B239E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B239E | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#2D4660
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4b239e; /* rgb */ color: rgb(75, 35, 158); /* oklch */ color: oklch(39.4% 0.183 290.2);
Tailwind
colors: {
custom: {
50: '#8663bc',
500: '#4b239e',
950: '#000000',
},
}SCSS
$custom: #4b239e; $custom-light: #8663bc; $custom-dark: #000000;
JSON
{
"hex": "#4b239e",
"rgb": {
"r": 75,
"g": 35,
"b": 158
},
"hsl": {
"h": 259.512,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.39375,
"c": 0.18253,
"h": 290.2
},
"luminance": 0.05167
}Semantic roles & 50–950 ramp
primary
#4B239E
secondary
#A0C15C
accent
#E741B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81