#531370#531370

#531370 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.151 H 312.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#531370
RGBrgb(83, 19, 112)
HSLhsl(281, 71%, 26%)
HSVhsv(281, 83%, 44%)
CMYKcmyk(25.9%, 83%, 0%, 56.1%)
CIE-LABlab(21.85, 43.63, -39.48)
CIE-LCHlch(21.85, 58.85, 317.86°)
OKLaboklab(34.6% 0.1015 -0.1118)
OKLCHoklch(34.6% 0.151 312.2)
XYZxyz(6.7242, 3.4748, 15.6426)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531370 #307013
analogous
#241370 #531370 #70135E
triadic
#531370 #705313 #137053
tetradic
#531370 #702413 #307013 #135E70
square
#531370 #702413 #307013 #135E70
split-complementary
#531370 #5E7013 #137024
monochromatic
#13041A #2C0A3C #531370 #7A1CA4 #A125D9

Accessibility & contrast

On white

12.39
#531370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#531370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531370
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531370#FFFFFF#000000##FFFFFF
##5313701.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#01366E
Tritanopia (blue-blind)
#4F2A42
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531370;
/* rgb */ color: rgb(83, 19, 112);
/* oklch */ color: oklch(34.6% 0.151 312.2);
Tailwind
colors: {
  custom: {
    50: '#875a9a',
    500: '#531370',
    950: '#000000',
  },
}
SCSS
$custom: #531370;
$custom-light: #875a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531370",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 281.29,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34603,
    "c": 0.15101,
    "h": 312.2
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#531370
secondary
#5BA738
accent
#EE3A72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531370

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

Preview Lab → · Contrast checker → · Palette generator →

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