#531D85#531D85

#531D85 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.162 H 302.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#531D85
RGBrgb(83, 29, 133)
HSLhsl(271, 64%, 32%)
HSVhsv(271, 78%, 52%)
CMYKcmyk(37.6%, 78.2%, 0%, 47.8%)
CIE-LABlab(24.99, 44.62, -47.76)
CIE-LCHlch(24.99, 65.36, 313.06°)
OKLaboklab(37.35% 0.0873 -0.1362)
OKLCHoklch(37.35% 0.162 302.7)
XYZxyz(8.2393, 4.4112, 22.6031)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D85 #4F851D
analogous
#1F1D85 #531D85 #851D83
triadic
#531D85 #85531D #1D8553
tetradic
#531D85 #851F1D #4F851D #1D8385
square
#531D85 #851F1D #4F851D #1D8385
split-complementary
#531D85 #83851D #1D851F
monochromatic
#140721 #341253 #531D85 #7228B7 #9146D7

Accessibility & contrast

On white

11.16
#531D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#531D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D85
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D85#FFFFFF#000000##FFFFFF
##531D851.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#493850
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531d85;
/* rgb */ color: rgb(83, 29, 133);
/* oklch */ color: oklch(37.3% 0.162 302.7);
Tailwind
colors: {
  custom: {
    50: '#895fa9',
    500: '#531d85',
    950: '#000000',
  },
}
SCSS
$custom: #531d85;
$custom-light: #895fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#531d85",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 271.154,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37349,
    "c": 0.1618,
    "h": 302.7
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#531D85
secondary
#7DB846
accent
#E74191
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531D85

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

Preview Lab → · Contrast checker → · Palette generator →

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