#501250#501250

#501250 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.121 H 328.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#501250
RGBrgb(80, 18, 80)
HSLhsl(300, 63%, 19%)
HSVhsv(300, 78%, 31%)
CMYKcmyk(0%, 77.5%, 0%, 68.6%)
CIE-LABlab(18.88, 36.68, -23.11)
CIE-LCHlch(18.88, 43.35, 327.78°)
OKLaboklab(31.65% 0.1023 -0.064)
OKLCHoklch(31.65% 0.121 328)
XYZxyz(4.9725, 2.7176, 7.8505)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501250 #125012
analogous
#311250 #501250 #501231
triadic
#501250 #505012 #125050
tetradic
#501250 #503112 #125012 #123150
square
#501250 #503112 #125012 #123150
split-complementary
#501250 #315012 #125031
monochromatic
#190619 #1E071E #501250 #821D82 #B428B4

Accessibility & contrast

On white

13.61
#501250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#501250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501250
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501250#FFFFFF#000000##FFFFFF
##5012501.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072952
Deuteranopia (green-blind)
#22314E
Tritanopia (blue-blind)
#531B2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501250;
/* rgb */ color: rgb(80, 18, 80);
/* oklch */ color: oklch(31.7% 0.121 328.0);
Tailwind
colors: {
  custom: {
    50: '#845781',
    500: '#501250',
    950: '#000000',
  },
}
SCSS
$custom: #501250;
$custom-light: #845781;
$custom-dark: #000000;
JSON
{
  "hex": "#501250",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 300,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31651,
    "c": 0.12068,
    "h": 328
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#501250
secondary
#358935
accent
#E64141
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #501250

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

Preview Lab → · Contrast checker → · Palette generator →

#501250 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva