#501148#501148

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

Color values

HEX#501148
RGBrgb(80, 17, 72)
HSLhsl(308, 65%, 19%)
HSVhsv(308, 79%, 31%)
CMYKcmyk(0%, 78.8%, 10%, 68.6%)
CIE-LABlab(18.25, 35.60, -18.63)
CIE-LCHlch(18.25, 40.18, 332.38°)
OKLaboklab(31.05% 0.1031 -0.051)
OKLCHoklch(31.05% 0.115 333.7)
XYZxyz(4.6784, 2.5746, 6.3802)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501148 #115019
analogous
#391150 #501148 #501129
triadic
#501148 #485011 #114850
tetradic
#501148 #503911 #115019 #112950
square
#501148 #503911 #115019 #112950
split-complementary
#501148 #295011 #115039
monochromatic
#190517 #1E061B #501148 #821C75 #B526A3

Accessibility & contrast

On white

13.86
#501148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#501148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501148
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501148#FFFFFF#000000##FFFFFF
##5011481.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F274A
Deuteranopia (green-blind)
#263046
Tritanopia (blue-blind)
#54172B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #501148;
/* rgb */ color: rgb(80, 17, 72);
/* oklch */ color: oklch(31.0% 0.115 333.7);
Tailwind
colors: {
  custom: {
    50: '#84567b',
    500: '#501148',
    950: '#000000',
  },
}
SCSS
$custom: #501148;
$custom-light: #84567b;
$custom-dark: #000000;
JSON
{
  "hex": "#501148",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 307.619,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31046,
    "c": 0.11501,
    "h": 333.7
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#501148
secondary
#33893E
accent
#E85540
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #501148

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

Preview Lab → · Contrast checker → · Palette generator →

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