#502CC3#502CC3

#502CC3 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.216 H 284.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#502CC3
RGBrgb(80, 44, 195)
HSLhsl(254, 63%, 47%)
HSVhsv(254, 77%, 76%)
CMYKcmyk(59%, 77.4%, 0%, 23.5%)
CIE-LABlab(32.80, 54.06, -72.51)
CIE-LCHlch(32.80, 90.44, 306.71°)
OKLaboklab(44.5% 0.0535 -0.2089)
OKLCHoklch(44.5% 0.216 284.4)
XYZxyz(14.0563, 7.4461, 52.3157)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502CC3 #9FC32C
analogous
#2C53C3 #502CC3 #9C2CC3
triadic
#502CC3 #C3502C #2CC350
tetradic
#502CC3 #C32C53 #9FC32C #2CC39C
square
#502CC3 #C32C53 #9FC32C #2CC39C
split-complementary
#502CC3 #C39C2C #53C32C
monochromatic
#27155F #3C2191 #502CC3 #7354D8 #9C86E4

Accessibility & contrast

On white

8.44
#502CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#502CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502CC3
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502CC3#FFFFFF#000000##FFFFFF
##502CC31.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#045877
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #502cc3;
/* rgb */ color: rgb(80, 44, 195);
/* oklch */ color: oklch(44.5% 0.216 284.4);
Tailwind
colors: {
  custom: {
    50: '#8f6ad6',
    500: '#502cc3',
    950: '#000000',
  },
}
SCSS
$custom: #502cc3;
$custom-light: #8f6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#502cc3",
  "rgb": {
    "r": 80,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 254.305,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.21568,
    "h": 284.4
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#502CC3
secondary
#BACD7E
accent
#E642BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #502CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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