#501253#501253

#501253 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.123 H 326.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#501253
RGBrgb(80, 18, 83)
HSLhsl(297, 64%, 20%)
HSVhsv(297, 78%, 33%)
CMYKcmyk(3.6%, 78.3%, 0%, 67.5%)
CIE-LABlab(19.07, 37.26, -24.84)
CIE-LCHlch(19.07, 44.78, 326.31°)
OKLaboklab(31.85% 0.1023 -0.069)
OKLCHoklch(31.85% 0.123 326)
XYZxyz(5.0858, 2.7630, 8.4474)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501253 #155312
analogous
#301253 #501253 #531235
triadic
#501253 #535012 #125350
tetradic
#501253 #533012 #155312 #123553
square
#501253 #533012 #155312 #123553
split-complementary
#501253 #355312 #125330
monochromatic
#180519 #200721 #501253 #801D85 #B128B8

Accessibility & contrast

On white

13.53
#501253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#501253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501253
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501253#FFFFFF#000000##FFFFFF
##5012531.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032955
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#521D31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501253;
/* rgb */ color: rgb(80, 18, 83);
/* oklch */ color: oklch(31.9% 0.123 326.0);
Tailwind
colors: {
  custom: {
    50: '#845784',
    500: '#501253',
    950: '#000000',
  },
}
SCSS
$custom: #501253;
$custom-light: #845784;
$custom-dark: #000000;
JSON
{
  "hex": "#501253",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 297.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31851,
    "c": 0.1234,
    "h": 326
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#501253
secondary
#398C35
accent
#E74048
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #501253

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

Preview Lab → · Contrast checker → · Palette generator →

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