#531D87#531D87

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

Color values

HEX#531D87
RGBrgb(83, 29, 135)
HSLhsl(271, 65%, 32%)
HSVhsv(271, 79%, 53%)
CMYKcmyk(38.5%, 78.5%, 0%, 47.1%)
CIE-LABlab(25.16, 45.12, -48.73)
CIE-LCHlch(25.16, 66.41, 312.80°)
OKLaboklab(37.52% 0.0868 -0.1391)
OKLCHoklch(37.52% 0.164 302)
XYZxyz(8.3788, 4.4670, 23.3378)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D87 #51871D
analogous
#1E1D87 #531D87 #871D86
triadic
#531D87 #87531D #1D8753
tetradic
#531D87 #871E1D #51871D #1D8687
square
#531D87 #871E1D #51871D #1D8687
split-complementary
#531D87 #86871D #1D871E
monochromatic
#150722 #341255 #531D87 #7228B9 #9147D7

Accessibility & contrast

On white

11.09
#531D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#531D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D87
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D87#FFFFFF#000000##FFFFFF
##531D871.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531d87;
/* rgb */ color: rgb(83, 29, 135);
/* oklch */ color: oklch(37.5% 0.164 302.0);
Tailwind
colors: {
  custom: {
    50: '#895fab',
    500: '#531d87',
    950: '#000000',
  },
}
SCSS
$custom: #531d87;
$custom-light: #895fab;
$custom-dark: #000000;
JSON
{
  "hex": "#531d87",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 270.566,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37523,
    "c": 0.16394,
    "h": 302
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#531D87
secondary
#7FB946
accent
#E84092
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531D87

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

Preview Lab → · Contrast checker → · Palette generator →

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