#531D73#531D73

#531D73 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.143 H 309.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#531D73
RGBrgb(83, 29, 115)
HSLhsl(278, 60%, 28%)
HSVhsv(278, 75%, 45%)
CMYKcmyk(27.8%, 74.8%, 0%, 54.9%)
CIE-LABlab(23.52, 40.22, -38.71)
CIE-LCHlch(23.52, 55.82, 316.09°)
OKLaboklab(35.86% 0.0911 -0.1096)
OKLCHoklch(35.86% 0.143 309.7)
XYZxyz(7.1005, 3.9557, 16.6058)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D73 #3D731D
analogous
#281D73 #531D73 #731D68
triadic
#531D73 #73531D #1D7353
tetradic
#531D73 #73281D #3D731D #1D6873
square
#531D73 #73281D #3D731D #1D6873
split-complementary
#531D73 #68731D #1D7328
monochromatic
#120618 #301142 #531D73 #7629A4 #983CCE

Accessibility & contrast

On white

11.72
#531D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531D73
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D73#FFFFFF#000000##FFFFFF
##531D731.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#0B3971
Tritanopia (blue-blind)
#4E3046
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531d73;
/* rgb */ color: rgb(83, 29, 115);
/* oklch */ color: oklch(35.9% 0.143 309.7);
Tailwind
colors: {
  custom: {
    50: '#875e9c',
    500: '#531d73',
    950: '#000000',
  },
}
SCSS
$custom: #531d73;
$custom-light: #875e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#531d73",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 277.674,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35858,
    "c": 0.14251,
    "h": 309.7
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#531D73
secondary
#69A745
accent
#E34580
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #531D73

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

Preview Lab → · Contrast checker → · Palette generator →

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