#50239C#50239C
#50239C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.180 H 293.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #50239C |
|---|---|
| RGB | rgb(80, 35, 156) |
| HSL | hsl(262, 63%, 37%) |
| HSV | hsv(262, 78%, 61%) |
| CMYK | cmyk(48.7%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(27.59, 47.42, -57.74) |
| CIE-LCH | lch(27.59, 74.71, 309.39°) |
| OKLab | oklab(39.72% 0.0712 -0.1657) |
| OKLCH | oklch(39.72% 0.18 293.3) |
| XYZ | xyz(9.9084, 5.3075, 31.9484) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.51
Rebeccapurple
#663399
ΔE00 5.43
Indigo
#4B0082
ΔE00 6.15
Violet Blue
#510AC9
ΔE00 6.20
Indigo (survey)
#380282
ΔE00 6.96
Ultramarine
#2000B1
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#50239C #6F9C23
analogous
#23329C #50239C #8D239C
triadic
#50239C #9C5023 #239C50
tetradic
#50239C #9C2332 #6F9C23 #239C8D
square
#50239C #9C2332 #6F9C23 #239C8D
split-complementary
#50239C #9C8D23 #329C23
monochromatic
#1D0D38 #36186A #50239C #6A2ECE #8D5EDB
Accessibility & contrast
On white
10.19
#50239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#50239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #50239C
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##50239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##50239C | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#38445E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #50239c; /* rgb */ color: rgb(80, 35, 156); /* oklch */ color: oklch(39.7% 0.180 293.3);
Tailwind
colors: {
custom: {
50: '#8963ba',
500: '#50239c',
950: '#000000',
},
}SCSS
$custom: #50239c; $custom-light: #8963ba; $custom-dark: #000000;
JSON
{
"hex": "#50239c",
"rgb": {
"r": 80,
"g": 35,
"b": 156
},
"hsl": {
"h": 262.314,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.39724,
"c": 0.18033,
"h": 293.3
},
"luminance": 0.05308
}Semantic roles & 50–950 ramp
primary
#50239C
secondary
#9AC05B
accent
#E641A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81