#531D8A#531D8A

#531D8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.167 H 301.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#531D8A
RGBrgb(83, 29, 138)
HSLhsl(270, 65%, 33%)
HSVhsv(270, 79%, 54%)
CMYKcmyk(39.9%, 79%, 0%, 45.9%)
CIE-LABlab(25.42, 45.87, -50.18)
CIE-LCHlch(25.42, 67.99, 312.44°)
OKLaboklab(37.79% 0.086 -0.1433)
OKLCHoklch(37.79% 0.167 301)
XYZxyz(8.5930, 4.5526, 24.4659)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D8A #548A1D
analogous
#1D1D8A #531D8A #891D8A
triadic
#531D8A #8A531D #1D8A53
tetradic
#531D8A #8A1D1D #548A1D #1D8A89
square
#531D8A #8A1D1D #548A1D #1D8A89
split-complementary
#531D8A #8A891D #1D8A1D
monochromatic
#160825 #351257 #531D8A #7128BD #9049D9

Accessibility & contrast

On white

10.99
#531D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#531D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D8A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D8A#FFFFFF#000000##FFFFFF
##531D8A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#473A53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531d8a;
/* rgb */ color: rgb(83, 29, 138);
/* oklch */ color: oklch(37.8% 0.167 301.0);
Tailwind
colors: {
  custom: {
    50: '#8960ad',
    500: '#531d8a',
    950: '#000000',
  },
}
SCSS
$custom: #531d8a;
$custom-light: #8960ad;
$custom-dark: #000000;
JSON
{
  "hex": "#531d8a",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 269.725,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37788,
    "c": 0.16715,
    "h": 301
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#531D8A
secondary
#82BB48
accent
#E84095
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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