#531B86#531B86

#531B86 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.165 H 302.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#531B86
RGBrgb(83, 27, 134)
HSLhsl(271, 66%, 32%)
HSVhsv(271, 80%, 53%)
CMYKcmyk(38.1%, 79.9%, 0%, 47.5%)
CIE-LABlab(24.78, 45.72, -48.72)
CIE-LCHlch(24.78, 66.81, 313.18°)
OKLaboklab(37.23% 0.0889 -0.139)
OKLCHoklch(37.23% 0.165 302.6)
XYZxyz(8.2613, 4.3441, 22.9529)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B86 #4E861B
analogous
#1E1B86 #531B86 #861B84
triadic
#531B86 #86531B #1B8653
tetradic
#531B86 #861E1B #4E861B #1B8486
square
#531B86 #861E1B #4E861B #1B8486
split-complementary
#531B86 #84861B #1B861E
monochromatic
#140620 #331153 #531B86 #7325B9 #9142D9

Accessibility & contrast

On white

11.24
#531B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#531B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B86
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B86#FFFFFF#000000##FFFFFF
##531B861.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531b86;
/* rgb */ color: rgb(83, 27, 134);
/* oklch */ color: oklch(37.2% 0.165 302.6);
Tailwind
colors: {
  custom: {
    50: '#895eaa',
    500: '#531b86',
    950: '#000000',
  },
}
SCSS
$custom: #531b86;
$custom-light: #895eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#531b86",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 271.402,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3723,
    "c": 0.16501,
    "h": 302.6
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#531B86
secondary
#7CB944
accent
#E93E90
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531B86

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

Preview Lab → · Contrast checker → · Palette generator →

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