#531E81#531E81

#531E81 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.156 H 304.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#531E81
RGBrgb(83, 30, 129)
HSLhsl(272, 62%, 31%)
HSVhsv(272, 77%, 51%)
CMYKcmyk(35.7%, 76.7%, 0%, 49.4%)
CIE-LABlab(24.80, 43.18, -45.54)
CIE-LCHlch(24.80, 62.75, 313.48°)
OKLaboklab(37.12% 0.0873 -0.1297)
OKLCHoklch(37.12% 0.156 304)
XYZxyz(7.9931, 4.3525, 21.1837)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E81 #4C811E
analogous
#211E81 #531E81 #811E7D
triadic
#531E81 #81531E #1E8153
tetradic
#531E81 #81211E #4C811E #1E7D81
square
#531E81 #81211E #4C811E #1E7D81
split-complementary
#531E81 #7D811E #1E8121
monochromatic
#13071E #33124F #531E81 #732AB3 #9246D4

Accessibility & contrast

On white

11.23
#531E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#531E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E81
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E81#FFFFFF#000000##FFFFFF
##531E811.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#4A374E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531e81;
/* rgb */ color: rgb(83, 30, 129);
/* oklch */ color: oklch(37.1% 0.156 304.0);
Tailwind
colors: {
  custom: {
    50: '#8860a6',
    500: '#531e81',
    950: '#000000',
  },
}
SCSS
$custom: #531e81;
$custom-light: #8860a6;
$custom-dark: #000000;
JSON
{
  "hex": "#531e81",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 272.121,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37116,
    "c": 0.15635,
    "h": 304
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#531E81
secondary
#7AB447
accent
#E5428E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531E81

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

Preview Lab → · Contrast checker → · Palette generator →

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