#531E84#531E84

#531E84 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.160 H 302.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#531E84
RGBrgb(83, 30, 132)
HSLhsl(271, 63%, 32%)
HSVhsv(271, 77%, 52%)
CMYKcmyk(37.1%, 77.3%, 0%, 48.2%)
CIE-LABlab(25.06, 43.93, -47.02)
CIE-LCHlch(25.06, 64.34, 313.06°)
OKLaboklab(37.37% 0.0866 -0.134)
OKLCHoklch(37.37% 0.16 302.9)
XYZxyz(8.1954, 4.4335, 22.2493)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E84 #4F841E
analogous
#201E84 #531E84 #841E82
triadic
#531E84 #84531E #1E8453
tetradic
#531E84 #84201E #4F841E #1E8284
square
#531E84 #84201E #4F841E #1E8284
split-complementary
#531E84 #82841E #1E8420
monochromatic
#140720 #341352 #531E84 #7229B6 #9147D5

Accessibility & contrast

On white

11.13
#531E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531E84
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E84#FFFFFF#000000##FFFFFF
##531E841.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531e84;
/* rgb */ color: rgb(83, 30, 132);
/* oklch */ color: oklch(37.4% 0.160 302.9);
Tailwind
colors: {
  custom: {
    50: '#8860a9',
    500: '#531e84',
    950: '#000000',
  },
}
SCSS
$custom: #531e84;
$custom-light: #8860a9;
$custom-dark: #000000;
JSON
{
  "hex": "#531e84",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 271.176,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37371,
    "c": 0.1596,
    "h": 302.9
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

primary
#531E84
secondary
#7DB747
accent
#E64291
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531E84

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

Preview Lab → · Contrast checker → · Palette generator →

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