#531B83#531B83

#531B83 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.162 H 303.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#531B83
RGBrgb(83, 27, 131)
HSLhsl(272, 66%, 31%)
HSVhsv(272, 79%, 51%)
CMYKcmyk(36.6%, 79.4%, 0%, 48.6%)
CIE-LABlab(24.52, 44.98, -47.26)
CIE-LCHlch(24.52, 65.24, 313.58°)
OKLaboklab(36.97% 0.0897 -0.1347)
OKLCHoklch(36.97% 0.162 303.6)
XYZxyz(8.0550, 4.2616, 21.8665)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B83 #4B831B
analogous
#1F1B83 #531B83 #831B7F
triadic
#531B83 #83531B #1B8353
tetradic
#531B83 #831F1B #4B831B #1B7F83
square
#531B83 #831F1B #4B831B #1B7F83
split-complementary
#531B83 #7F831B #1B831F
monochromatic
#13061E #331150 #531B83 #7325B6 #9241D8

Accessibility & contrast

On white

11.34
#531B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#531B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B83
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B83#FFFFFF#000000##FFFFFF
##531B831.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#49364E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531b83;
/* rgb */ color: rgb(83, 27, 131);
/* oklch */ color: oklch(37.0% 0.162 303.6);
Tailwind
colors: {
  custom: {
    50: '#885ea8',
    500: '#531b83',
    950: '#000000',
  },
}
SCSS
$custom: #531b83;
$custom-light: #885ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#531b83",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 272.308,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36967,
    "c": 0.16186,
    "h": 303.6
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#531B83
secondary
#78B643
accent
#E93F8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531B83

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

Preview Lab → · Contrast checker → · Palette generator →

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