#502CC0#502CC0

#502CC0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.212 H 284.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#502CC0
RGBrgb(80, 44, 192)
HSLhsl(255, 63%, 46%)
HSVhsv(255, 77%, 75%)
CMYKcmyk(58.3%, 77.1%, 0%, 24.7%)
CIE-LABlab(32.51, 53.21, -71.23)
CIE-LCHlch(32.51, 88.91, 306.76°)
OKLaboklab(44.2% 0.0543 -0.2052)
OKLCHoklch(44.2% 0.212 284.8)
XYZxyz(13.7205, 7.3118, 50.5473)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502CC0 #9CC02C
analogous
#2C52C0 #502CC0 #9A2CC0
triadic
#502CC0 #C0502C #2CC050
tetradic
#502CC0 #C02C52 #9CC02C #2CC09A
square
#502CC0 #C02C52 #9CC02C #2CC09A
split-complementary
#502CC0 #C09A2C #52C02C
monochromatic
#27155C #3B218E #502CC0 #7252D7 #9B84E3

Accessibility & contrast

On white

8.53
#502CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#502CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502CC0
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502CC0#FFFFFF#000000##FFFFFF
##502CC01.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#0E5775
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #502cc0;
/* rgb */ color: rgb(80, 44, 192);
/* oklch */ color: oklch(44.2% 0.212 284.8);
Tailwind
colors: {
  custom: {
    50: '#8e6ad4',
    500: '#502cc0',
    950: '#000000',
  },
}
SCSS
$custom: #502cc0;
$custom-light: #8e6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#502cc0",
  "rgb": {
    "r": 80,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 254.595,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.21229,
    "h": 284.8
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#502CC0
secondary
#B8CC7C
accent
#E642BE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #502CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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