#531E82#531E82

#531E82 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.157 H 303.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#531E82
RGBrgb(83, 30, 130)
HSLhsl(272, 63%, 31%)
HSVhsv(272, 77%, 51%)
CMYKcmyk(36.2%, 76.9%, 0%, 49%)
CIE-LABlab(24.89, 43.43, -46.03)
CIE-LCHlch(24.89, 63.28, 313.33°)
OKLaboklab(37.2% 0.0871 -0.1311)
OKLCHoklch(37.2% 0.157 303.6)
XYZxyz(8.0599, 4.3793, 21.5354)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E82 #4D821E
analogous
#211E82 #531E82 #821E7F
triadic
#531E82 #82531E #1E8253
tetradic
#531E82 #82211E #4D821E #1E7F82
square
#531E82 #82211E #4D821E #1E7F82
split-complementary
#531E82 #7F821E #1E8221
monochromatic
#14071F #331350 #531E82 #7329B4 #9146D4

Accessibility & contrast

On white

11.20
#531E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531E82
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E82#FFFFFF#000000##FFFFFF
##531E821.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#4A374F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531e82;
/* rgb */ color: rgb(83, 30, 130);
/* oklch */ color: oklch(37.2% 0.157 303.6);
Tailwind
colors: {
  custom: {
    50: '#8860a7',
    500: '#531e82',
    950: '#000000',
  },
}
SCSS
$custom: #531e82;
$custom-light: #8860a7;
$custom-dark: #000000;
JSON
{
  "hex": "#531e82",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 271.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.372,
    "c": 0.15744,
    "h": 303.6
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#531E82
secondary
#7BB547
accent
#E6428F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531E82

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

Preview Lab → · Contrast checker → · Palette generator →

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