#531472#531472

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

Color values

HEX#531472
RGBrgb(83, 20, 114)
HSLhsl(280, 70%, 26%)
HSVhsv(280, 82%, 45%)
CMYKcmyk(27.2%, 82.5%, 0%, 55.3%)
CIE-LABlab(22.14, 43.72, -40.31)
CIE-LCHlch(22.14, 59.47, 317.32°)
OKLaboklab(34.86% 0.1002 -0.1143)
OKLCHoklch(34.86% 0.152 311.2)
XYZxyz(6.8541, 3.5544, 16.2413)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531472 #337214
analogous
#241472 #531472 #721462
triadic
#531472 #725314 #147253
tetradic
#531472 #722414 #337214 #146272
square
#531472 #722414 #337214 #146272
split-complementary
#531472 #627214 #147224
monochromatic
#13051A #2D0B3E #531472 #791DA6 #9E27D9

Accessibility & contrast

On white

12.27
#531472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531472
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531472#FFFFFF#000000##FFFFFF
##5314721.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.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: #531472;
/* rgb */ color: rgb(83, 20, 114);
/* oklch */ color: oklch(34.9% 0.152 311.2);
Tailwind
colors: {
  custom: {
    50: '#875a9b',
    500: '#531472',
    950: '#000000',
  },
}
SCSS
$custom: #531472;
$custom-light: #875a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#531472",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 280.213,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34855,
    "c": 0.15194,
    "h": 311.2
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#531472
secondary
#5EA839
accent
#ED3B76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531472

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

Preview Lab → · Contrast checker → · Palette generator →

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