#531E96#531E96

#531E96 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.179 H 297.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#531E96
RGBrgb(83, 30, 150)
HSLhsl(267, 67%, 35%)
HSVhsv(267, 80%, 59%)
CMYKcmyk(44.7%, 80%, 0%, 41.2%)
CIE-LABlab(26.65, 48.50, -55.60)
CIE-LCHlch(26.65, 73.78, 311.10°)
OKLaboklab(38.98% 0.0817 -0.1592)
OKLCHoklch(38.98% 0.179 297.2)
XYZxyz(9.5351, 4.9694, 29.3051)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E96 #61961E
analogous
#1E2596 #531E96 #8F1E96
triadic
#531E96 #96531E #1E9653
tetradic
#531E96 #961E25 #61961E #1E968F
square
#531E96 #961E25 #61961E #1E968F
split-complementary
#531E96 #968F1E #25961E
monochromatic
#1B0A30 #371463 #531E96 #6F28C9 #8F52DC

Accessibility & contrast

On white

10.53
#531E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#531E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E96
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E96#FFFFFF#000000##FFFFFF
##531E961.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#413F5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #531e96;
/* rgb */ color: rgb(83, 30, 150);
/* oklch */ color: oklch(39.0% 0.179 297.2);
Tailwind
colors: {
  custom: {
    50: '#8a61b6',
    500: '#531e96',
    950: '#000000',
  },
}
SCSS
$custom: #531e96;
$custom-light: #8a61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#531e96",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 266.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38977,
    "c": 0.17898,
    "h": 297.2
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#531E96
secondary
#8EBF50
accent
#EA3E9E
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #531E96

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

Preview Lab → · Contrast checker → · Palette generator →

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