#502E93#502E93
#502E93 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.157 H 293.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #502E93 |
|---|---|
| RGB | rgb(80, 46, 147) |
| HSL | hsl(260, 52%, 38%) |
| HSV | hsv(260, 69%, 58%) |
| CMYK | cmyk(45.6%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(28.81, 39.29, -50.23) |
| CIE-LCH | lch(28.81, 63.77, 308.03°) |
| OKLab | oklab(40.35% 0.0628 -0.1437) |
| OKLCH | oklch(40.35% 0.157 293.6) |
| XYZ | xyz(9.5503, 5.7658, 28.2078) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.28
Darkslateblue
#483D8B
ΔE00 5.27
Blueberry
#464196
ΔE00 6.26
Indigo Blue
#3A18B1
ΔE00 6.76
Ocean Blue
#4F42B5
ΔE00 7.34
Indigo
#4B0082
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#502E93 #71932E
analogous
#2E3E93 #502E93 #822E93
triadic
#502E93 #93502E #2E9350
tetradic
#502E93 #932E3E #71932E #2E9382
square
#502E93 #932E3E #71932E #2E9382
split-complementary
#502E93 #93822E #3E932E
monochromatic
#1D1136 #371F64 #502E93 #693DC2 #8D6BD1
Accessibility & contrast
On white
9.75
#502E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#502E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #502E93
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##502E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##502E93 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#3D475C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #502e93; /* rgb */ color: rgb(80, 46, 147); /* oklch */ color: oklch(40.3% 0.157 293.6);
Tailwind
colors: {
custom: {
50: '#8769b3',
500: '#502e93',
950: '#000000',
},
}SCSS
$custom: #502e93; $custom-light: #8769b3; $custom-dark: #000000;
JSON
{
"hex": "#502e93",
"rgb": {
"r": 80,
"g": 46,
"b": 147
},
"hsl": {
"h": 260.198,
"s": 52.332,
"l": 37.843
},
"oklch": {
"l": 0.40347,
"c": 0.15681,
"h": 293.6
},
"luminance": 0.05766
}Semantic roles & 50–950 ramp
primary
#502E93
secondary
#9CB865
accent
#DC4CAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80