#531B82#531B82

#531B82 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.161 H 304.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#531B82
RGBrgb(83, 27, 130)
HSLhsl(273, 66%, 31%)
HSVhsv(273, 79%, 51%)
CMYKcmyk(36.2%, 79.2%, 0%, 49%)
CIE-LABlab(24.43, 44.73, -46.77)
CIE-LCHlch(24.43, 64.72, 313.72°)
OKLaboklab(36.88% 0.0899 -0.1333)
OKLCHoklch(36.88% 0.161 304)
XYZxyz(7.9875, 4.2346, 21.5113)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B82 #4A821B
analogous
#1F1B82 #531B82 #821B7D
triadic
#531B82 #82531B #1B8253
tetradic
#531B82 #821F1B #4A821B #1B7D82
square
#531B82 #821F1B #4A821B #1B7D82
split-complementary
#531B82 #7D821B #1B821F
monochromatic
#12061D #33104F #531B82 #7326B5 #9240D7

Accessibility & contrast

On white

11.37
#531B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531B82
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B82#FFFFFF#000000##FFFFFF
##531B821.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#4A364E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531b82;
/* rgb */ color: rgb(83, 27, 130);
/* oklch */ color: oklch(36.9% 0.161 304.0);
Tailwind
colors: {
  custom: {
    50: '#885ea7',
    500: '#531b82',
    950: '#000000',
  },
}
SCSS
$custom: #531b82;
$custom-light: #885ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#531b82",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 272.621,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3688,
    "c": 0.1608,
    "h": 304
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #531B82

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

Preview Lab → · Contrast checker → · Palette generator →

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