#531D72#531D72

#531D72 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.141 H 310.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#531D72
RGBrgb(83, 29, 114)
HSLhsl(278, 59%, 28%)
HSVhsv(278, 75%, 45%)
CMYKcmyk(27.2%, 74.6%, 0%, 55.3%)
CIE-LABlab(23.45, 39.98, -38.19)
CIE-LCHlch(23.45, 55.29, 316.31°)
OKLaboklab(35.78% 0.0912 -0.1081)
OKLCHoklch(35.78% 0.141 310.2)
XYZxyz(7.0433, 3.9328, 16.3044)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D72 #3C721D
analogous
#281D72 #531D72 #721D66
triadic
#531D72 #72531D #1D7253
tetradic
#531D72 #72281D #3C721D #1D6672
square
#531D72 #72281D #3C721D #1D6672
split-complementary
#531D72 #66721D #1D7228
monochromatic
#120618 #2F1141 #531D72 #7729A3 #983CCD

Accessibility & contrast

On white

11.75
#531D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#531D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D72
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D72#FFFFFF#000000##FFFFFF
##531D721.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#0D3970
Tritanopia (blue-blind)
#4F3045
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531d72;
/* rgb */ color: rgb(83, 29, 114);
/* oklch */ color: oklch(35.8% 0.141 310.2);
Tailwind
colors: {
  custom: {
    50: '#875e9b',
    500: '#531d72',
    950: '#000000',
  },
}
SCSS
$custom: #531d72;
$custom-light: #875e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#531d72",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 278.118,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35779,
    "c": 0.14143,
    "h": 310.2
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#531D72
secondary
#68A645
accent
#E3457F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #531D72

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

Preview Lab → · Contrast checker → · Palette generator →

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