#531D8D#531D8D

#531D8D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.170 H 300.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#531D8D
RGBrgb(83, 29, 141)
HSLhsl(269, 66%, 33%)
HSVhsv(269, 79%, 55%)
CMYKcmyk(41.1%, 79.4%, 0%, 44.7%)
CIE-LABlab(25.69, 46.63, -51.61)
CIE-LCHlch(25.69, 69.55, 312.10°)
OKLaboklab(38.06% 0.0852 -0.1475)
OKLCHoklch(38.06% 0.17 300)
XYZxyz(8.8132, 4.6407, 25.6256)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D8D #578D1D
analogous
#1D1F8D #531D8D #8B1D8D
triadic
#531D8D #8D531D #1D8D53
tetradic
#531D8D #8D1D1F #578D1D #1D8D8B
square
#531D8D #8D1D1F #578D1D #1D8D8B
split-complementary
#531D8D #8D8B1D #1F8D1D
monochromatic
#170827 #35135A #531D8D #7127C0 #904BDA

Accessibility & contrast

On white

10.89
#531D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#531D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D8D
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D8D#FFFFFF#000000##FFFFFF
##531D8D1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#453B55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531d8d;
/* rgb */ color: rgb(83, 29, 141);
/* oklch */ color: oklch(38.1% 0.170 300.0);
Tailwind
colors: {
  custom: {
    50: '#8960af',
    500: '#531d8d',
    950: '#000000',
  },
}
SCSS
$custom: #531d8d;
$custom-light: #8960af;
$custom-dark: #000000;
JSON
{
  "hex": "#531d8d",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 268.929,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38055,
    "c": 0.17035,
    "h": 300
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#531D8D
secondary
#85BC4A
accent
#E93F97
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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