#531A82#531A82

#531A82 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.162 H 304.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#531A82
RGBrgb(83, 26, 130)
HSLhsl(273, 67%, 31%)
HSVhsv(273, 80%, 51%)
CMYKcmyk(36.2%, 80%, 0%, 49%)
CIE-LABlab(24.29, 45.15, -47.01)
CIE-LCHlch(24.29, 65.18, 313.84°)
OKLaboklab(36.78% 0.0908 -0.134)
OKLCHoklch(36.78% 0.162 304.1)
XYZxyz(7.9650, 4.1895, 21.5038)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A82 #49821A
analogous
#1F1A82 #531A82 #821A7D
triadic
#531A82 #82531A #1A8253
tetradic
#531A82 #821F1A #49821A #1A7D82
square
#531A82 #821F1A #49821A #1A7D82
split-complementary
#531A82 #7D821A #1A821F
monochromatic
#12061C #32104F #531A82 #7424B5 #933ED8

Accessibility & contrast

On white

11.43
#531A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#531A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A82
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A82#FFFFFF#000000##FFFFFF
##531A821.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531a82;
/* rgb */ color: rgb(83, 26, 130);
/* oklch */ color: oklch(36.8% 0.162 304.1);
Tailwind
colors: {
  custom: {
    50: '#885ea7',
    500: '#531a82',
    950: '#000000',
  },
}
SCSS
$custom: #531a82;
$custom-light: #885ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#531a82",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 272.885,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36779,
    "c": 0.16187,
    "h": 304.1
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#531A82
secondary
#76B642
accent
#EA3E8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531A82

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

Preview Lab → · Contrast checker → · Palette generator →

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