#531B84#531B84

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

Color values

HEX#531B84
RGBrgb(83, 27, 132)
HSLhsl(272, 66%, 31%)
HSVhsv(272, 80%, 52%)
CMYKcmyk(37.1%, 79.5%, 0%, 48.2%)
CIE-LABlab(24.60, 45.22, -47.75)
CIE-LCHlch(24.60, 65.77, 313.44°)
OKLaboklab(37.05% 0.0894 -0.1362)
OKLCHoklch(37.05% 0.163 303.3)
XYZxyz(8.1231, 4.2888, 22.2252)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B84 #4C841B
analogous
#1E1B84 #531B84 #841B80
triadic
#531B84 #84531B #1B8453
tetradic
#531B84 #841E1B #4C841B #1B8084
square
#531B84 #841E1B #4C841B #1B8084
split-complementary
#531B84 #80841B #1B841E
monochromatic
#13061E #331151 #531B84 #7325B7 #9241D8

Accessibility & contrast

On white

11.30
#531B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531B84
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B84#FFFFFF#000000##FFFFFF
##531B841.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#49364F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531b84;
/* rgb */ color: rgb(83, 27, 132);
/* oklch */ color: oklch(37.1% 0.163 303.3);
Tailwind
colors: {
  custom: {
    50: '#895ea9',
    500: '#531b84',
    950: '#000000',
  },
}
SCSS
$custom: #531b84;
$custom-light: #895ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#531b84",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 272,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.1629,
    "h": 303.3
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#531B84
secondary
#7AB743
accent
#E93F8E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531B84

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

Preview Lab → · Contrast checker → · Palette generator →

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