#531580#531580

#531580 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.165 H 305.4°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#531580
RGBrgb(83, 21, 128)
HSLhsl(275, 72%, 29%)
HSVhsv(275, 84%, 50%)
CMYKcmyk(35.2%, 83.6%, 0%, 49.8%)
CIE-LABlab(23.45, 46.59, -47.11)
CIE-LCHlch(23.45, 66.25, 314.68°)
OKLaboklab(36.14% 0.0956 -0.1342)
OKLCHoklch(36.14% 0.165 305.4)
XYZxyz(7.7308, 3.9339, 20.7699)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531580 #428015
analogous
#1D1580 #531580 #801578
triadic
#531580 #805315 #158053
tetradic
#531580 #801D15 #428015 #157880
square
#531580 #801D15 #428015 #157880
split-complementary
#531580 #788015 #15801D
monochromatic
#11041A #310C4B #531580 #751EB5 #9532DD

Accessibility & contrast

On white

11.75
#531580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531580
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531580#FFFFFF#000000##FFFFFF
##5315801.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#4B324B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531580;
/* rgb */ color: rgb(83, 21, 128);
/* oklch */ color: oklch(36.1% 0.165 305.4);
Tailwind
colors: {
  custom: {
    50: '#895ba6',
    500: '#531580',
    950: '#000000',
  },
}
SCSS
$custom: #531580;
$custom-light: #895ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#531580",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 274.766,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.16479,
    "h": 305.4
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#531580
secondary
#6FB53C
accent
#EF3986
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531580

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

Preview Lab → · Contrast checker → · Palette generator →

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