#531E88#531E88

#531E88 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.164 H 301.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#531E88
RGBrgb(83, 30, 136)
HSLhsl(270, 64%, 33%)
HSVhsv(270, 78%, 53%)
CMYKcmyk(39%, 77.9%, 0%, 46.7%)
CIE-LABlab(25.40, 44.93, -48.96)
CIE-LCHlch(25.40, 66.46, 312.54°)
OKLaboklab(37.72% 0.0856 -0.1398)
OKLCHoklch(37.72% 0.164 301.5)
XYZxyz(8.4744, 4.5451, 23.7186)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E88 #53881E
analogous
#1E1E88 #531E88 #881E88
triadic
#531E88 #88531E #1E8853
tetradic
#531E88 #881E1E #53881E #1E8888
square
#531E88 #881E1E #53881E #1E8888
split-complementary
#531E88 #88881E #1E881E
monochromatic
#160824 #341356 #531E88 #7229BA #9049D7

Accessibility & contrast

On white

11.00
#531E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#531E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E88
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E88#FFFFFF#000000##FFFFFF
##531E881.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#473A52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531e88;
/* rgb */ color: rgb(83, 30, 136);
/* oklch */ color: oklch(37.7% 0.164 301.5);
Tailwind
colors: {
  custom: {
    50: '#8960ac',
    500: '#531e88',
    950: '#000000',
  },
}
SCSS
$custom: #531e88;
$custom-light: #8960ac;
$custom-dark: #000000;
JSON
{
  "hex": "#531e88",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 270,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37718,
    "c": 0.16392,
    "h": 301.5
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#531E88
secondary
#81B949
accent
#E74194
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531E88

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

Preview Lab → · Contrast checker → · Palette generator →

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