#531E97#531E97

#531E97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.180 H 296.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#531E97
RGBrgb(83, 30, 151)
HSLhsl(266, 67%, 35%)
HSVhsv(266, 80%, 59%)
CMYKcmyk(45%, 80.1%, 0%, 40.8%)
CIE-LABlab(26.74, 48.76, -56.06)
CIE-LCHlch(26.74, 74.30, 311.01°)
OKLaboklab(39.07% 0.0814 -0.1606)
OKLCHoklch(39.07% 0.18 296.9)
XYZxyz(9.6160, 5.0017, 29.7309)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E97 #62971E
analogous
#1E2597 #531E97 #8F1E97
triadic
#531E97 #97531E #1E9753
tetradic
#531E97 #971E25 #62971E #1E978F
square
#531E97 #971E25 #62971E #1E978F
split-complementary
#531E97 #978F1E #25971E
monochromatic
#1B0A31 #371464 #531E97 #6F28CA #8F53DD

Accessibility & contrast

On white

10.50
#531E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#531E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E97
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E97#FFFFFF#000000##FFFFFF
##531E971.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#41405B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #531e97;
/* rgb */ color: rgb(83, 30, 151);
/* oklch */ color: oklch(39.1% 0.180 296.9);
Tailwind
colors: {
  custom: {
    50: '#8b61b7',
    500: '#531e97',
    950: '#000000',
  },
}
SCSS
$custom: #531e97;
$custom-light: #8b61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#531e97",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 266.281,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3907,
    "c": 0.18005,
    "h": 296.9
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#531E97
secondary
#8FC051
accent
#EA3E9F
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #531E97

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

Preview Lab → · Contrast checker → · Palette generator →

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