#4B23B2#4B23B2
#4B23B2 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.205 H 286.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4B23B2 |
|---|---|
| RGB | rgb(75, 35, 178) |
| HSL | hsl(257, 67%, 42%) |
| HSV | hsv(257, 80%, 70%) |
| CMYK | cmyk(57.9%, 80.3%, 0%, 30.2%) |
| CIE-LAB | lab(29.19, 52.78, -68.42) |
| CIE-LCH | lch(29.19, 86.41, 307.65°) |
| OKLab | oklab(41.35% 0.0567 -0.1971) |
| OKLCH | oklch(41.35% 0.205 286) |
| XYZ | xyz(11.5361, 5.9116, 42.6440) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.75
Violet Blue
#510AC9
ΔE00 3.59
Purple Blue
#5D21D0
ΔE00 4.66
True Blue
#010FCC
ΔE00 5.68
Ultramarine Blue
#1805DB
ΔE00 6.01
Ultramarine
#2000B1
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B23B2 #8AB223
analogous
#2343B2 #4B23B2 #9323B2
triadic
#4B23B2 #B24B23 #23B24B
tetradic
#4B23B2 #B22343 #8AB223 #23B293
square
#4B23B2 #B22343 #8AB223 #23B293
split-complementary
#4B23B2 #B29323 #43B223
monochromatic
#200F4C #35197F #4B23B2 #663AD8 #8E6DE2
Accessibility & contrast
On white
9.62
#4B23B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#4B23B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B23B2
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B23B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B23B2 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#154E6B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4b23b2; /* rgb */ color: rgb(75, 35, 178); /* oklch */ color: oklch(41.4% 0.205 286.0);
Tailwind
colors: {
custom: {
50: '#8a64ca',
500: '#4b23b2',
950: '#000000',
},
}SCSS
$custom: #4b23b2; $custom-light: #8a64ca; $custom-dark: #000000;
JSON
{
"hex": "#4b23b2",
"rgb": {
"r": 75,
"g": 35,
"b": 178
},
"hsl": {
"h": 256.783,
"s": 67.136,
"l": 41.765
},
"oklch": {
"l": 0.41354,
"c": 0.20506,
"h": 286
},
"luminance": 0.05912
}Semantic roles & 50–950 ramp
primary
#4B23B2
secondary
#AEC968
accent
#EA3EBA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82