#531D89#531D89

#531D89 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.166 H 301.3°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#531D89
RGBrgb(83, 29, 137)
HSLhsl(270, 65%, 33%)
HSVhsv(270, 79%, 54%)
CMYKcmyk(39.4%, 78.8%, 0%, 46.3%)
CIE-LABlab(25.33, 45.62, -49.69)
CIE-LCHlch(25.33, 67.46, 312.55°)
OKLaboklab(37.7% 0.0863 -0.1419)
OKLCHoklch(37.7% 0.166 301.3)
XYZxyz(8.5209, 4.5238, 24.0863)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D89 #53891D
analogous
#1D1D89 #531D89 #891D89
triadic
#531D89 #89531D #1D8953
tetradic
#531D89 #891D1D #53891D #1D8989
square
#531D89 #891D1D #53891D #1D8989
split-complementary
#531D89 #89891D #1D891D
monochromatic
#160824 #341256 #531D89 #7228BC #9048D8

Accessibility & contrast

On white

11.02
#531D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#531D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D89
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D89#FFFFFF#000000##FFFFFF
##531D891.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#473952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531d89;
/* rgb */ color: rgb(83, 29, 137);
/* oklch */ color: oklch(37.7% 0.166 301.3);
Tailwind
colors: {
  custom: {
    50: '#8960ac',
    500: '#531d89',
    950: '#000000',
  },
}
SCSS
$custom: #531d89;
$custom-light: #8960ac;
$custom-dark: #000000;
JSON
{
  "hex": "#531d89",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 270,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37699,
    "c": 0.16608,
    "h": 301.3
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#531D89
secondary
#81BA47
accent
#E84094
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531D89

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

Preview Lab → · Contrast checker → · Palette generator →

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