#501248#501248

#501248 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.114 H 333.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#501248
RGBrgb(80, 18, 72)
HSLhsl(308, 63%, 19%)
HSVhsv(308, 78%, 31%)
CMYKcmyk(0%, 77.5%, 10%, 68.6%)
CIE-LABlab(18.39, 35.20, -18.41)
CIE-LCHlch(18.39, 39.72, 332.40°)
OKLaboklab(31.15% 0.1019 -0.0504)
OKLCHoklch(31.15% 0.114 333.7)
XYZxyz(4.6943, 2.6064, 6.3855)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501248 #12501A
analogous
#391250 #501248 #501229
triadic
#501248 #485012 #124850
tetradic
#501248 #503912 #12501A #122950
square
#501248 #503912 #12501A #122950
split-complementary
#501248 #295012 #125039
monochromatic
#190616 #1E071B #501248 #821D75 #B428A2

Accessibility & contrast

On white

13.80
#501248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#501248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501248
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501248#FFFFFF#000000##FFFFFF
##5012481.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10274A
Deuteranopia (green-blind)
#273046
Tritanopia (blue-blind)
#54182B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #501248;
/* rgb */ color: rgb(80, 18, 72);
/* oklch */ color: oklch(31.1% 0.114 333.7);
Tailwind
colors: {
  custom: {
    50: '#84577b',
    500: '#501248',
    950: '#000000',
  },
}
SCSS
$custom: #501248;
$custom-light: #84577b;
$custom-dark: #000000;
JSON
{
  "hex": "#501248",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 307.742,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31147,
    "c": 0.11369,
    "h": 333.7
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#501248
secondary
#358940
accent
#E65741
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #501248

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

Preview Lab → · Contrast checker → · Palette generator →

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