#531E71#531E71

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

Color values

HEX#531E71
RGBrgb(83, 30, 113)
HSLhsl(278, 58%, 28%)
HSVhsv(278, 73%, 44%)
CMYKcmyk(26.5%, 73.5%, 0%, 55.7%)
CIE-LABlab(23.54, 39.27, -37.40)
CIE-LCHlch(23.54, 54.23, 316.40°)
OKLaboklab(35.82% 0.0902 -0.1058)
OKLCHoklch(35.82% 0.139 310.5)
XYZxyz(7.0116, 3.9600, 16.0146)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E71 #3C711E
analogous
#291E71 #531E71 #711E65
triadic
#531E71 #71531E #1E7153
tetradic
#531E71 #71291E #3C711E #1E6571
square
#531E71 #71291E #3C711E #1E6571
split-complementary
#531E71 #65711E #1E7129
monochromatic
#120618 #2F1141 #531E71 #772BA1 #983ECC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##531E71#FFFFFF#000000##FFFFFF
##531E711.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)
#003673
Deuteranopia (green-blind)
#10396F
Tritanopia (blue-blind)
#4F3045
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531e71;
/* rgb */ color: rgb(83, 30, 113);
/* oklch */ color: oklch(35.8% 0.139 310.5);
Tailwind
colors: {
  custom: {
    50: '#875f9a',
    500: '#531e71',
    950: '#000000',
  },
}
SCSS
$custom: #531e71;
$custom-light: #875f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#531e71",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 278.313,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3582,
    "c": 0.13903,
    "h": 310.5
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#531E71
secondary
#68A546
accent
#E1477E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #531E71

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

Preview Lab → · Contrast checker → · Palette generator →

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