#531473#531473

#531473 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.153 H 310.8°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#531473
RGBrgb(83, 20, 115)
HSLhsl(280, 70%, 26%)
HSVhsv(280, 83%, 45%)
CMYKcmyk(27.8%, 82.6%, 0%, 54.9%)
CIE-LABlab(22.22, 43.95, -40.82)
CIE-LCHlch(22.22, 59.98, 317.11°)
OKLaboklab(34.94% 0.0999 -0.1158)
OKLCHoklch(34.94% 0.153 310.8)
XYZxyz(6.9113, 3.5773, 16.5427)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531473 #347314
analogous
#231473 #531473 #731464
triadic
#531473 #735314 #147353
tetradic
#531473 #732314 #347314 #146473
square
#531473 #732314 #347314 #146473
split-complementary
#531473 #647314 #147323
monochromatic
#13051A #2D0B3F #531473 #791DA7 #9E28DA

Accessibility & contrast

On white

12.24
#531473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531473
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531473#FFFFFF#000000##FFFFFF
##5314731.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531473;
/* rgb */ color: rgb(83, 20, 115);
/* oklch */ color: oklch(34.9% 0.153 310.8);
Tailwind
colors: {
  custom: {
    50: '#875a9c',
    500: '#531473',
    950: '#000000',
  },
}
SCSS
$custom: #531473;
$custom-light: #875a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#531473",
  "rgb": {
    "r": 83,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 279.789,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34938,
    "c": 0.15292,
    "h": 310.8
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#531473
secondary
#5FA93A
accent
#ED3B77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531473

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

Preview Lab → · Contrast checker → · Palette generator →

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