#531372#531372

#531372 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.153 H 311.3°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#531372
RGBrgb(83, 19, 114)
HSLhsl(280, 71%, 26%)
HSVhsv(280, 83%, 45%)
CMYKcmyk(27.2%, 83.3%, 0%, 55.3%)
CIE-LABlab(22.02, 44.08, -40.51)
CIE-LCHlch(22.02, 59.87, 317.42°)
OKLaboklab(34.77% 0.101 -0.1148)
OKLCHoklch(34.77% 0.153 311.3)
XYZxyz(6.8368, 3.5198, 16.2356)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531372 #327213
analogous
#231372 #531372 #721361
triadic
#531372 #725313 #137253
tetradic
#531372 #722313 #327213 #136172
square
#531372 #722313 #327213 #136172
split-complementary
#531372 #617213 #137223
monochromatic
#13041A #2D0A3E #531372 #791CA6 #9F25DB

Accessibility & contrast

On white

12.32
#531372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531372
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531372#FFFFFF#000000##FFFFFF
##5313721.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#4F2B43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531372;
/* rgb */ color: rgb(83, 19, 114);
/* oklch */ color: oklch(34.8% 0.153 311.3);
Tailwind
colors: {
  custom: {
    50: '#875a9b',
    500: '#531372',
    950: '#000000',
  },
}
SCSS
$custom: #531372;
$custom-light: #875a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#531372",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 280.421,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34769,
    "c": 0.15295,
    "h": 311.3
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#531372
secondary
#5DA938
accent
#EE3A75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531372

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

Preview Lab → · Contrast checker → · Palette generator →

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