#501254#501254

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

Color values

HEX#501254
RGBrgb(80, 18, 84)
HSLhsl(296, 65%, 20%)
HSVhsv(296, 79%, 33%)
CMYKcmyk(4.8%, 78.6%, 0%, 67.1%)
CIE-LABlab(19.13, 37.45, -25.41)
CIE-LCHlch(19.13, 45.26, 325.85°)
OKLaboklab(31.92% 0.1023 -0.0707)
OKLCHoklch(31.92% 0.124 325.3)
XYZxyz(5.1247, 2.7785, 8.6522)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501254 #165412
analogous
#2F1254 #501254 #541237
triadic
#501254 #545012 #125450
tetradic
#501254 #542F12 #165412 #123754
square
#501254 #542F12 #165412 #123754
split-complementary
#501254 #375412 #12542F
monochromatic
#180519 #200722 #501254 #801D86 #B028B9

Accessibility & contrast

On white

13.50
#501254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#501254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501254
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501254#FFFFFF#000000##FFFFFF
##5012541.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012A56
Deuteranopia (green-blind)
#203152
Tritanopia (blue-blind)
#521D32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501254;
/* rgb */ color: rgb(80, 18, 84);
/* oklch */ color: oklch(31.9% 0.124 325.3);
Tailwind
colors: {
  custom: {
    50: '#845784',
    500: '#501254',
    950: '#000000',
  },
}
SCSS
$custom: #501254;
$custom-light: #845784;
$custom-dark: #000000;
JSON
{
  "hex": "#501254",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 296.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31919,
    "c": 0.12431,
    "h": 325.3
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#501254
secondary
#3A8D35
accent
#E8404A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #501254

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

Preview Lab → · Contrast checker → · Palette generator →

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