#502C73#502C73

#502C73 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.5% C 0.119 H 304.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#502C73
RGBrgb(80, 44, 115)
HSLhsl(270, 45%, 31%)
HSVhsv(270, 62%, 45%)
CMYKcmyk(30.4%, 61.7%, 0%, 54.9%)
CIE-LABlab(25.99, 31.55, -34.75)
CIE-LCHlch(25.99, 46.94, 312.23°)
OKLaboklab(37.55% 0.0679 -0.0982)
OKLCHoklch(37.55% 0.119 304.7)
XYZxyz(7.3028, 4.7447, 16.7474)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502C73 #4F732C
analogous
#2C2C73 #502C73 #732C72
triadic
#502C73 #73502C #2C7350
tetradic
#502C73 #732C2C #4F732C #2C7273
square
#502C73 #732C2C #4F732C #2C7273
split-complementary
#502C73 #72732C #2C732C
monochromatic
#120A1A #311B47 #502C73 #6F3D9F #8D5AC0

Accessibility & contrast

On white

10.77
#502C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#502C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502C73
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502C73#FFFFFF#000000##FFFFFF
##502C731.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D75
Deuteranopia (green-blind)
#1D3E71
Tritanopia (blue-blind)
#4A3A4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #502c73;
/* rgb */ color: rgb(80, 44, 115);
/* oklch */ color: oklch(37.5% 0.119 304.7);
Tailwind
colors: {
  custom: {
    50: '#84679c',
    500: '#502c73',
    950: '#000000',
  },
}
SCSS
$custom: #502c73;
$custom-light: #84679c;
$custom-dark: #000000;
JSON
{
  "hex": "#502c73",
  "rgb": {
    "r": 80,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 270.423,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37548,
    "c": 0.11941,
    "h": 304.7
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#502C73
secondary
#7DA556
accent
#D45393
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #502C73

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

Preview Lab → · Contrast checker → · Palette generator →

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