#531E89#531E89

#531E89 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.165 H 301.2°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#531E89
RGBrgb(83, 30, 137)
HSLhsl(270, 64%, 33%)
HSVhsv(270, 78%, 54%)
CMYKcmyk(39.4%, 78.1%, 0%, 46.3%)
CIE-LABlab(25.48, 45.19, -49.45)
CIE-LCHlch(25.48, 66.99, 312.42°)
OKLaboklab(37.81% 0.0854 -0.1412)
OKLCHoklch(37.81% 0.165 301.2)
XYZxyz(8.5458, 4.5736, 24.0946)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E89 #54891E
analogous
#1E1E89 #531E89 #891E89
triadic
#531E89 #89531E #1E8953
tetradic
#531E89 #891E1E #54891E #1E8989
square
#531E89 #891E1E #54891E #1E8989
split-complementary
#531E89 #89891E #1E891E
monochromatic
#160825 #351357 #531E89 #7129BB #904AD7

Accessibility & contrast

On white

10.97
#531E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531E89
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E89#FFFFFF#000000##FFFFFF
##531E891.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531e89;
/* rgb */ color: rgb(83, 30, 137);
/* oklch */ color: oklch(37.8% 0.165 301.2);
Tailwind
colors: {
  custom: {
    50: '#8960ac',
    500: '#531e89',
    950: '#000000',
  },
}
SCSS
$custom: #531e89;
$custom-light: #8960ac;
$custom-dark: #000000;
JSON
{
  "hex": "#531e89",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 269.72,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37805,
    "c": 0.165,
    "h": 301.2
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#531E89
secondary
#82BA49
accent
#E74195
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531E89

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

Preview Lab → · Contrast checker → · Palette generator →

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