#531C84#531C84

#531C84 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.162 H 303.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#531C84
RGBrgb(83, 28, 132)
HSLhsl(272, 65%, 31%)
HSVhsv(272, 79%, 52%)
CMYKcmyk(37.1%, 78.8%, 0%, 48.2%)
CIE-LABlab(24.75, 44.80, -47.51)
CIE-LCHlch(24.75, 65.30, 313.32°)
OKLaboklab(37.16% 0.0885 -0.1355)
OKLCHoklch(37.16% 0.162 303.2)
XYZxyz(8.1464, 4.3354, 22.2330)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C84 #4D841C
analogous
#1F1C84 #531C84 #841C81
triadic
#531C84 #84531C #1C8453
tetradic
#531C84 #841F1C #4D841C #1C8184
square
#531C84 #841F1C #4D841C #1C8184
split-complementary
#531C84 #81841C #1C841F
monochromatic
#14071F #331152 #531C84 #7327B6 #9143D7

Accessibility & contrast

On white

11.25
#531C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531C84
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C84#FFFFFF#000000##FFFFFF
##531C841.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#49374F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531c84;
/* rgb */ color: rgb(83, 28, 132);
/* oklch */ color: oklch(37.2% 0.162 303.2);
Tailwind
colors: {
  custom: {
    50: '#895fa9',
    500: '#531c84',
    950: '#000000',
  },
}
SCSS
$custom: #531c84;
$custom-light: #895fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#531c84",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 271.731,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37157,
    "c": 0.16183,
    "h": 303.2
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#531C84
secondary
#7BB745
accent
#E8408F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531C84

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

Preview Lab → · Contrast checker → · Palette generator →

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