#531A84#531A84

#531A84 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.164 H 303.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#531A84
RGBrgb(83, 26, 132)
HSLhsl(272, 67%, 31%)
HSVhsv(272, 80%, 52%)
CMYKcmyk(37.1%, 80.3%, 0%, 48.2%)
CIE-LABlab(24.46, 45.64, -47.98)
CIE-LCHlch(24.46, 66.22, 313.56°)
OKLaboklab(36.95% 0.0903 -0.1369)
OKLCHoklch(36.95% 0.164 303.4)
XYZxyz(8.1006, 4.2437, 22.2177)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A84 #4B841A
analogous
#1E1A84 #531A84 #841A80
triadic
#531A84 #84531A #1A8453
tetradic
#531A84 #841E1A #4B841A #1A8084
square
#531A84 #841E1A #4B841A #1A8084
split-complementary
#531A84 #80841A #1A841E
monochromatic
#13061E #331051 #531A84 #7324B7 #923FD9

Accessibility & contrast

On white

11.36
#531A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531A84
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A84#FFFFFF#000000##FFFFFF
##531A841.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#49364F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531a84;
/* rgb */ color: rgb(83, 26, 132);
/* oklch */ color: oklch(37.0% 0.164 303.4);
Tailwind
colors: {
  custom: {
    50: '#895ea9',
    500: '#531a84',
    950: '#000000',
  },
}
SCSS
$custom: #531a84;
$custom-light: #895ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#531a84",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 272.264,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36954,
    "c": 0.16395,
    "h": 303.4
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#531A84
secondary
#78B842
accent
#EA3E8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531A84

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

Preview Lab → · Contrast checker → · Palette generator →

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