#501958#501958

#501958 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.0% C 0.119 H 322.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#501958
RGBrgb(80, 25, 88)
HSLhsl(292, 56%, 22%)
HSVhsv(292, 72%, 35%)
CMYKcmyk(9.1%, 71.6%, 0%, 65.5%)
CIE-LABlab(20.46, 35.26, -25.98)
CIE-LCHlch(20.46, 43.79, 323.61°)
OKLaboklab(32.96% 0.0939 -0.0724)
OKLCHoklch(32.96% 0.119 322.4)
XYZxyz(5.4172, 3.1056, 9.5447)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501958 #215819
analogous
#311958 #501958 #581941
triadic
#501958 #585019 #195850
tetradic
#501958 #583119 #215819 #194158
square
#501958 #583119 #215819 #194158
split-complementary
#501958 #415819 #195831
monochromatic
#160718 #250B28 #501958 #7B2788 #A734B7

Accessibility & contrast

On white

12.95
#501958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#501958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501958
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501958#FFFFFF#000000##FFFFFF
##5019581.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082D5A
Deuteranopia (green-blind)
#213356
Tritanopia (blue-blind)
#512336
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501958;
/* rgb */ color: rgb(80, 25, 88);
/* oklch */ color: oklch(33.0% 0.119 322.4);
Tailwind
colors: {
  custom: {
    50: '#835b87',
    500: '#501958',
    950: '#000000',
  },
}
SCSS
$custom: #501958;
$custom-light: #835b87;
$custom-dark: #000000;
JSON
{
  "hex": "#501958",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 292.381,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32956,
    "c": 0.11859,
    "h": 322.4
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#501958
secondary
#498E3E
accent
#DF495C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501958

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

Preview Lab → · Contrast checker → · Palette generator →

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