#531581#531581

#531581 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.166 H 305.1°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#531581
RGBrgb(83, 21, 129)
HSLhsl(274, 72%, 29%)
HSVhsv(274, 84%, 51%)
CMYKcmyk(35.7%, 83.7%, 0%, 49.4%)
CIE-LABlab(23.54, 46.82, -47.60)
CIE-LCHlch(23.54, 66.77, 314.53°)
OKLaboklab(36.23% 0.0953 -0.1357)
OKLCHoklch(36.23% 0.166 305.1)
XYZxyz(7.7970, 3.9604, 21.1183)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531581 #438115
analogous
#1D1581 #531581 #811579
triadic
#531581 #815315 #158153
tetradic
#531581 #811D15 #438115 #157981
square
#531581 #811D15 #438115 #157981
split-complementary
#531581 #798115 #15811D
monochromatic
#11041A #310C4C #531581 #751EB6 #9533DE

Accessibility & contrast

On white

11.72
#531581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#531581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531581
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531581#FFFFFF#000000##FFFFFF
##5315811.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#4A334C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531581;
/* rgb */ color: rgb(83, 21, 129);
/* oklch */ color: oklch(36.2% 0.166 305.1);
Tailwind
colors: {
  custom: {
    50: '#895ca6',
    500: '#531581',
    950: '#000000',
  },
}
SCSS
$custom: #531581;
$custom-light: #895ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#531581",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 274.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3623,
    "c": 0.16579,
    "h": 305.1
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#531581
secondary
#70B63C
accent
#EF3986
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531581

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

Preview Lab → · Contrast checker → · Palette generator →

#531581 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva