#502CA0#502CA0

#502CA0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.175 H 290.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#502CA0
RGBrgb(80, 44, 160)
HSLhsl(259, 57%, 40%)
HSVhsv(259, 73%, 63%)
CMYKcmyk(50%, 72.5%, 0%, 37.3%)
CIE-LABlab(29.52, 44.08, -57.01)
CIE-LCHlch(29.52, 72.07, 307.71°)
OKLaboklab(41.2% 0.0624 -0.1636)
OKLCHoklch(41.2% 0.175 290.9)
XYZxyz(10.5523, 6.0445, 33.8616)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502CA0 #7CA02C
analogous
#2C42A0 #502CA0 #8A2CA0
triadic
#502CA0 #A0502C #2CA050
tetradic
#502CA0 #A02C42 #7CA02C #2CA08A
square
#502CA0 #A02C42 #7CA02C #2CA08A
split-complementary
#502CA0 #A08A2C #42A02C
monochromatic
#201240 #381F70 #502CA0 #6A3FCA #8F6FD7

Accessibility & contrast

On white

9.51
#502CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#502CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502CA0
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502CA0#FFFFFF#000000##FFFFFF
##502CA01.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#354A63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #502ca0;
/* rgb */ color: rgb(80, 44, 160);
/* oklch */ color: oklch(41.2% 0.175 290.9);
Tailwind
colors: {
  custom: {
    50: '#8968bd',
    500: '#502ca0',
    950: '#000000',
  },
}
SCSS
$custom: #502ca0;
$custom-light: #8968bd;
$custom-dark: #000000;
JSON
{
  "hex": "#502ca0",
  "rgb": {
    "r": 80,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 258.621,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.17509,
    "h": 290.9
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#502CA0
secondary
#A4BF69
accent
#E048B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #502CA0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#502CA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva