#531D82#531D82

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

Color values

HEX#531D82
RGBrgb(83, 29, 130)
HSLhsl(272, 64%, 31%)
HSVhsv(272, 78%, 51%)
CMYKcmyk(36.2%, 77.7%, 0%, 49%)
CIE-LABlab(24.73, 43.87, -46.28)
CIE-LCHlch(24.73, 63.77, 313.47°)
OKLaboklab(37.09% 0.0881 -0.1319)
OKLCHoklch(37.09% 0.159 303.7)
XYZxyz(8.0350, 4.3294, 21.5271)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D82 #4C821D
analogous
#201D82 #531D82 #821D7E
triadic
#531D82 #82531D #1D8253
tetradic
#531D82 #82201D #4C821D #1D7E82
square
#531D82 #82201D #4C821D #1D7E82
split-complementary
#531D82 #7E821D #1D8220
monochromatic
#13071E #331250 #531D82 #7328B4 #9244D5

Accessibility & contrast

On white

11.26
#531D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531D82
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D82#FFFFFF#000000##FFFFFF
##531D821.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531d82;
/* rgb */ color: rgb(83, 29, 130);
/* oklch */ color: oklch(37.1% 0.159 303.7);
Tailwind
colors: {
  custom: {
    50: '#885fa7',
    500: '#531d82',
    950: '#000000',
  },
}
SCSS
$custom: #531d82;
$custom-light: #885fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#531d82",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 272.079,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37091,
    "c": 0.15859,
    "h": 303.7
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#531D82
secondary
#7AB546
accent
#E7418E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531D82

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

Preview Lab → · Contrast checker → · Palette generator →

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