#531573#531573

#531573 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.152 H 310.7°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#531573
RGBrgb(83, 21, 115)
HSLhsl(280, 69%, 27%)
HSVhsv(280, 82%, 45%)
CMYKcmyk(27.8%, 81.7%, 0%, 54.9%)
CIE-LABlab(22.35, 43.58, -40.61)
CIE-LCHlch(22.35, 59.57, 317.02°)
OKLaboklab(35.03% 0.099 -0.1152)
OKLCHoklch(35.03% 0.152 310.7)
XYZxyz(6.9294, 3.6133, 16.5487)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531573 #357315
analogous
#241573 #531573 #731564
triadic
#531573 #735315 #157353
tetradic
#531573 #732415 #357315 #156473
square
#531573 #732415 #357315 #156473
split-complementary
#531573 #647315 #157324
monochromatic
#13051A #2E0C3F #531573 #781EA7 #9D2AD8

Accessibility & contrast

On white

12.19
#531573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#531573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531573
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531573#FFFFFF#000000##FFFFFF
##5315731.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531573;
/* rgb */ color: rgb(83, 21, 115);
/* oklch */ color: oklch(35.0% 0.152 310.7);
Tailwind
colors: {
  custom: {
    50: '#875b9c',
    500: '#531573',
    950: '#000000',
  },
}
SCSS
$custom: #531573;
$custom-light: #875b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#531573",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 279.574,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35028,
    "c": 0.15189,
    "h": 310.7
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#531573
secondary
#60A93B
accent
#EC3C78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531573

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

Preview Lab → · Contrast checker → · Palette generator →

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