#531D7F#531D7F

#531D7F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.155 H 304.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#531D7F
RGBrgb(83, 29, 127)
HSLhsl(273, 63%, 31%)
HSVhsv(273, 77%, 50%)
CMYKcmyk(34.6%, 77.2%, 0%, 50.2%)
CIE-LABlab(24.48, 43.13, -44.80)
CIE-LCHlch(24.48, 62.19, 313.91°)
OKLaboklab(36.84% 0.0888 -0.1275)
OKLCHoklch(36.84% 0.155 304.8)
XYZxyz(7.8365, 4.2501, 20.4821)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D7F #497F1D
analogous
#221D7F #531D7F #7F1D7A
triadic
#531D7F #7F531D #1D7F53
tetradic
#531D7F #7F221D #497F1D #1D7A7F
square
#531D7F #7F221D #497F1D #1D7A7F
split-complementary
#531D7F #7A7F1D #1D7F22
monochromatic
#12061B #32124D #531D7F #7428B1 #9342D4

Accessibility & contrast

On white

11.35
#531D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#531D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D7F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D7F#FFFFFF#000000##FFFFFF
##531D7F1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#4B354D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531d7f;
/* rgb */ color: rgb(83, 29, 127);
/* oklch */ color: oklch(36.8% 0.155 304.8);
Tailwind
colors: {
  custom: {
    50: '#885fa5',
    500: '#531d7f',
    950: '#000000',
  },
}
SCSS
$custom: #531d7f;
$custom-light: #885fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#531d7f",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 273.061,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36836,
    "c": 0.15537,
    "h": 304.8
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#531D7F
secondary
#76B245
accent
#E6428C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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