#531A86#531A86

#531A86 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.166 H 302.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#531A86
RGBrgb(83, 26, 134)
HSLhsl(272, 68%, 31%)
HSVhsv(272, 81%, 53%)
CMYKcmyk(38.1%, 80.6%, 0%, 47.5%)
CIE-LABlab(24.64, 46.12, -48.95)
CIE-LCHlch(24.64, 67.26, 313.30°)
OKLaboklab(37.13% 0.0897 -0.1397)
OKLCHoklch(37.13% 0.166 302.7)
XYZxyz(8.2387, 4.2990, 22.9454)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A86 #4D861A
analogous
#1D1A86 #531A86 #861A83
triadic
#531A86 #86531A #1A8653
tetradic
#531A86 #861D1A #4D861A #1A8386
square
#531A86 #861D1A #4D861A #1A8386
split-complementary
#531A86 #83861A #1A861D
monochromatic
#14061F #331053 #531A86 #7324B9 #9140DA

Accessibility & contrast

On white

11.29
#531A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#531A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A86
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A86#FFFFFF#000000##FFFFFF
##531A861.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531a86;
/* rgb */ color: rgb(83, 26, 134);
/* oklch */ color: oklch(37.1% 0.166 302.7);
Tailwind
colors: {
  custom: {
    50: '#895eaa',
    500: '#531a86',
    950: '#000000',
  },
}
SCSS
$custom: #531a86;
$custom-light: #895eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#531a86",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 271.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.16604,
    "h": 302.7
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#531A86
secondary
#7BB942
accent
#EA3D8F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531A86

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

Preview Lab → · Contrast checker → · Palette generator →

#531A86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva