#531986#531986

#531986 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.167 H 302.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#531986
RGBrgb(83, 25, 134)
HSLhsl(272, 69%, 31%)
HSVhsv(272, 81%, 53%)
CMYKcmyk(38.1%, 81.3%, 0%, 47.5%)
CIE-LABlab(24.50, 46.52, -49.18)
CIE-LCHlch(24.50, 67.70, 313.41°)
OKLaboklab(37.04% 0.0906 -0.1404)
OKLCHoklch(37.04% 0.167 302.8)
XYZxyz(8.2170, 4.2555, 22.9381)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531986 #4C8619
analogous
#1D1986 #531986 #861982
triadic
#531986 #865319 #198653
tetradic
#531986 #861D19 #4C8619 #198286
square
#531986 #861D19 #4C8619 #198286
split-complementary
#531986 #828619 #19861D
monochromatic
#13061F #330F52 #531986 #7323BA #923EDB

Accessibility & contrast

On white

11.35
#531986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#531986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531986
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531986#FFFFFF#000000##FFFFFF
##5319861.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#483650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531986;
/* rgb */ color: rgb(83, 25, 134);
/* oklch */ color: oklch(37.0% 0.167 302.8);
Tailwind
colors: {
  custom: {
    50: '#895eaa',
    500: '#531986',
    950: '#000000',
  },
}
SCSS
$custom: #531986;
$custom-light: #895eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#531986",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 271.927,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37035,
    "c": 0.16704,
    "h": 302.8
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#531986
secondary
#7ABA41
accent
#EB3C8E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531986

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

Preview Lab → · Contrast checker → · Palette generator →

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