#531373#531373

#531373 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.9% C 0.154 H 310.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#531373
RGBrgb(83, 19, 115)
HSLhsl(280, 72%, 26%)
HSVhsv(280, 83%, 45%)
CMYKcmyk(27.8%, 83.5%, 0%, 54.9%)
CIE-LABlab(22.10, 44.31, -41.02)
CIE-LCHlch(22.10, 60.38, 317.20°)
OKLaboklab(34.85% 0.1008 -0.1163)
OKLCHoklch(34.85% 0.154 310.9)
XYZxyz(6.8941, 3.5427, 16.5370)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531373 #337313
analogous
#231373 #531373 #731363
triadic
#531373 #735313 #137353
tetradic
#531373 #732313 #337313 #136373
square
#531373 #732313 #337313 #136373
split-complementary
#531373 #637313 #137323
monochromatic
#13041A #2D0A3E #531373 #791CA8 #9E25DB

Accessibility & contrast

On white

12.29
#531373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#531373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531373
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531373#FFFFFF#000000##FFFFFF
##5313731.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#4F2B44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531373;
/* rgb */ color: rgb(83, 19, 115);
/* oklch */ color: oklch(34.9% 0.154 310.9);
Tailwind
colors: {
  custom: {
    50: '#885a9c',
    500: '#531373',
    950: '#000000',
  },
}
SCSS
$custom: #531373;
$custom-light: #885a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#531373",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 280,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34852,
    "c": 0.15392,
    "h": 310.9
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#531373
secondary
#5EAA38
accent
#EE3976
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531373

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

Preview Lab → · Contrast checker → · Palette generator →

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