#531E83#531E83

#531E83 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.159 H 303.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#531E83
RGBrgb(83, 30, 131)
HSLhsl(271, 63%, 32%)
HSVhsv(271, 77%, 51%)
CMYKcmyk(36.6%, 77.1%, 0%, 48.6%)
CIE-LABlab(24.97, 43.68, -46.52)
CIE-LCHlch(24.97, 63.81, 313.19°)
OKLaboklab(37.29% 0.0869 -0.1326)
OKLCHoklch(37.29% 0.159 303.2)
XYZxyz(8.1273, 4.4062, 21.8906)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E83 #4E831E
analogous
#211E83 #531E83 #831E81
triadic
#531E83 #83531E #1E8353
tetradic
#531E83 #83211E #4E831E #1E8183
square
#531E83 #83211E #4E831E #1E8183
split-complementary
#531E83 #81831E #1E8321
monochromatic
#14071F #331351 #531E83 #7329B5 #9147D5

Accessibility & contrast

On white

11.16
#531E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#531E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E83
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E83#FFFFFF#000000##FFFFFF
##531E831.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#49374F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531e83;
/* rgb */ color: rgb(83, 30, 131);
/* oklch */ color: oklch(37.3% 0.159 303.2);
Tailwind
colors: {
  custom: {
    50: '#8860a8',
    500: '#531e83',
    950: '#000000',
  },
}
SCSS
$custom: #531e83;
$custom-light: #8860a8;
$custom-dark: #000000;
JSON
{
  "hex": "#531e83",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 271.485,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37286,
    "c": 0.15852,
    "h": 303.2
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#531E83
secondary
#7CB647
accent
#E64290
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531E83

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

Preview Lab → · Contrast checker → · Palette generator →

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