#531D7D#531D7D

#531D7D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.153 H 305.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#531D7D
RGBrgb(83, 29, 125)
HSLhsl(274, 62%, 30%)
HSVhsv(274, 77%, 49%)
CMYKcmyk(33.6%, 76.8%, 0%, 51%)
CIE-LABlab(24.32, 42.64, -43.80)
CIE-LCHlch(24.32, 61.13, 314.23°)
OKLaboklab(36.67% 0.0892 -0.1246)
OKLCHoklch(36.67% 0.153 305.6)
XYZxyz(7.7075, 4.1985, 19.8024)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D7D #477D1D
analogous
#231D7D #531D7D #7D1D77
triadic
#531D7D #7D531D #1D7D53
tetradic
#531D7D #7D231D #477D1D #1D777D
square
#531D7D #7D231D #477D1D #1D777D
split-complementary
#531D7D #777D1D #1D7D23
monochromatic
#11061A #32114B #531D7D #7429AF #9341D3

Accessibility & contrast

On white

11.42
#531D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#531D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D7D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D7D#FFFFFF#000000##FFFFFF
##531D7D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#4B344B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531d7d;
/* rgb */ color: rgb(83, 29, 125);
/* oklch */ color: oklch(36.7% 0.153 305.6);
Tailwind
colors: {
  custom: {
    50: '#885fa3',
    500: '#531d7d',
    950: '#000000',
  },
}
SCSS
$custom: #531d7d;
$custom-light: #885fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#531d7d",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 273.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36669,
    "c": 0.15322,
    "h": 305.6
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#531D7D
secondary
#74B145
accent
#E5428A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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