#531D80#531D80

#531D80 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.156 H 304.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#531D80
RGBrgb(83, 29, 128)
HSLhsl(273, 63%, 31%)
HSVhsv(273, 77%, 50%)
CMYKcmyk(35.2%, 77.3%, 0%, 49.8%)
CIE-LABlab(24.56, 43.38, -45.30)
CIE-LCHlch(24.56, 62.72, 313.76°)
OKLaboklab(36.92% 0.0885 -0.129)
OKLCHoklch(36.92% 0.156 304.5)
XYZxyz(7.9020, 4.2763, 20.8270)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D80 #4A801D
analogous
#211D80 #531D80 #801D7B
triadic
#531D80 #80531D #1D8053
tetradic
#531D80 #80211D #4A801D #1D7B80
square
#531D80 #80211D #4A801D #1D7B80
split-complementary
#531D80 #7B801D #1D8021
monochromatic
#12061C #33124E #531D80 #7328B2 #9243D4

Accessibility & contrast

On white

11.32
#531D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#531D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D80
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D80#FFFFFF#000000##FFFFFF
##531D801.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#4A364D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531d80;
/* rgb */ color: rgb(83, 29, 128);
/* oklch */ color: oklch(36.9% 0.156 304.5);
Tailwind
colors: {
  custom: {
    50: '#885fa6',
    500: '#531d80',
    950: '#000000',
  },
}
SCSS
$custom: #531d80;
$custom-light: #885fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#531d80",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 272.727,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.15644,
    "h": 304.5
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#531D80
secondary
#77B345
accent
#E6428C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531D80

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

Preview Lab → · Contrast checker → · Palette generator →

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