#531589#531589

#531589 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.174 H 302.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#531589
RGBrgb(83, 21, 137)
HSLhsl(272, 73%, 31%)
HSVhsv(272, 85%, 54%)
CMYKcmyk(39.4%, 84.7%, 0%, 46.3%)
CIE-LABlab(24.26, 48.73, -51.44)
CIE-LCHlch(24.26, 70.86, 313.45°)
OKLaboklab(36.95% 0.0927 -0.147)
OKLCHoklch(36.95% 0.174 302.2)
XYZxyz(8.3497, 4.1814, 24.0293)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531589 #4B8915
analogous
#191589 #531589 #891585
triadic
#531589 #895315 #158953
tetradic
#531589 #891915 #4B8915 #158589
square
#531589 #891915 #4B8915 #158589
split-complementary
#531589 #858915 #158919
monochromatic
#13051F #330D54 #531589 #731DBE #9238E0

Accessibility & contrast

On white

11.44
#531589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#531589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531589
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531589#FFFFFF#000000##FFFFFF
##5315891.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#473651
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531589;
/* rgb */ color: rgb(83, 21, 137);
/* oklch */ color: oklch(37.0% 0.174 302.2);
Tailwind
colors: {
  custom: {
    50: '#895cac',
    500: '#531589',
    950: '#000000',
  },
}
SCSS
$custom: #531589;
$custom-light: #895cac;
$custom-dark: #000000;
JSON
{
  "hex": "#531589",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 272.069,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36954,
    "c": 0.17377,
    "h": 302.2
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#531589
secondary
#78BD3D
accent
#F0388E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #531589

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

Preview Lab → · Contrast checker → · Palette generator →

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