#531571#531571

#531571 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.150 H 311.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#531571
RGBrgb(83, 21, 113)
HSLhsl(280, 69%, 26%)
HSVhsv(280, 81%, 44%)
CMYKcmyk(26.5%, 81.4%, 0%, 55.7%)
CIE-LABlab(22.19, 43.12, -39.59)
CIE-LCHlch(22.19, 58.54, 317.45°)
OKLaboklab(34.86% 0.0995 -0.1121)
OKLCHoklch(34.86% 0.15 311.6)
XYZxyz(6.8155, 3.5678, 15.9492)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531571 #337115
analogous
#251571 #531571 #711561
triadic
#531571 #715315 #157153
tetradic
#531571 #712515 #337115 #156171
square
#531571 #712515 #337115 #156171
split-complementary
#531571 #617115 #157125
monochromatic
#13051A #2D0B3D #531571 #791FA5 #9E29D7

Accessibility & contrast

On white

12.25
#531571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531571
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531571#FFFFFF#000000##FFFFFF
##5315711.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#02366F
Tritanopia (blue-blind)
#4F2B43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531571;
/* rgb */ color: rgb(83, 21, 113);
/* oklch */ color: oklch(34.9% 0.150 311.6);
Tailwind
colors: {
  custom: {
    50: '#875b9a',
    500: '#531571',
    950: '#000000',
  },
}
SCSS
$custom: #531571;
$custom-light: #875b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531571",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 280.435,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34864,
    "c": 0.14992,
    "h": 311.6
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#531571
secondary
#5EA73B
accent
#EB3C75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531571

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

Preview Lab → · Contrast checker → · Palette generator →

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