#502C91#502C91
#502C91 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.157 H 294.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #502C91 |
|---|---|
| RGB | rgb(80, 44, 145) |
| HSL | hsl(261, 53%, 37%) |
| HSV | hsv(261, 70%, 57%) |
| CMYK | cmyk(44.8%, 69.7%, 0%, 43.1%) |
| CIE-LAB | lab(28.25, 39.82, -49.92) |
| CIE-LCH | lch(28.25, 63.86, 308.58°) |
| OKLab | oklab(39.89% 0.0652 -0.1428) |
| OKLCH | oklch(39.89% 0.157 294.6) |
| XYZ | xyz(9.3184, 5.5509, 27.3630) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.38
Darkslateblue
#483D8B
ΔE00 5.65
Indigo Blue
#3A18B1
ΔE00 6.75
Blueberry
#464196
ΔE00 6.76
Indigo
#4B0082
ΔE00 7.08
Ocean Blue
#4F42B5
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#502C91 #6D912C
analogous
#2C3B91 #502C91 #832C91
triadic
#502C91 #91502C #2C9150
tetradic
#502C91 #912C3B #6D912C #2C9183
square
#502C91 #912C3B #6D912C #2C9183
split-complementary
#502C91 #91832C #3B912C
monochromatic
#1C1033 #361E62 #502C91 #6A3AC0 #8C67D1
Accessibility & contrast
On white
9.95
#502C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#502C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #502C91
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##502C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##502C91 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#3E455B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #502c91; /* rgb */ color: rgb(80, 44, 145); /* oklch */ color: oklch(39.9% 0.157 294.6);
Tailwind
colors: {
custom: {
50: '#8768b2',
500: '#502c91',
950: '#000000',
},
}SCSS
$custom: #502c91; $custom-light: #8768b2; $custom-dark: #000000;
JSON
{
"hex": "#502c91",
"rgb": {
"r": 80,
"g": 44,
"b": 145
},
"hsl": {
"h": 261.386,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.39892,
"c": 0.15695,
"h": 294.6
},
"luminance": 0.05551
}Semantic roles & 50–950 ramp
primary
#502C91
secondary
#99B762
accent
#DD4BA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80