#531E86#531E86

#531E86 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.162 H 302.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#531E86
RGBrgb(83, 30, 134)
HSLhsl(271, 63%, 32%)
HSVhsv(271, 78%, 53%)
CMYKcmyk(38.1%, 77.6%, 0%, 47.5%)
CIE-LABlab(25.23, 44.43, -47.99)
CIE-LCHlch(25.23, 65.40, 312.79°)
OKLaboklab(37.54% 0.0861 -0.1369)
OKLCHoklch(37.54% 0.162 302.2)
XYZxyz(8.3336, 4.4887, 22.9770)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E86 #51861E
analogous
#1F1E86 #531E86 #861E85
triadic
#531E86 #86531E #1E8653
tetradic
#531E86 #861F1E #51861E #1E8586
square
#531E86 #861F1E #51861E #1E8586
split-complementary
#531E86 #85861E #1E861F
monochromatic
#150822 #341354 #531E86 #7229B8 #9148D6

Accessibility & contrast

On white

11.07
#531E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#531E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E86
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E86#FFFFFF#000000##FFFFFF
##531E861.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#483951
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531e86;
/* rgb */ color: rgb(83, 30, 134);
/* oklch */ color: oklch(37.5% 0.162 302.2);
Tailwind
colors: {
  custom: {
    50: '#8960aa',
    500: '#531e86',
    950: '#000000',
  },
}
SCSS
$custom: #531e86;
$custom-light: #8960aa;
$custom-dark: #000000;
JSON
{
  "hex": "#531e86",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 270.577,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37544,
    "c": 0.16176,
    "h": 302.2
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#531E86
secondary
#7FB847
accent
#E64192
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531E86

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

Preview Lab → · Contrast checker → · Palette generator →

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