#531E9D#531E9D

#531E9D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.186 H 295.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#531E9D
RGBrgb(83, 30, 157)
HSLhsl(265, 68%, 37%)
HSVhsv(265, 81%, 62%)
CMYKcmyk(47.1%, 80.9%, 0%, 38.4%)
CIE-LABlab(27.30, 50.30, -58.81)
CIE-LCHlch(27.30, 77.39, 310.54°)
OKLaboklab(39.63% 0.0795 -0.1687)
OKLCHoklch(39.63% 0.186 295.2)
XYZxyz(10.1157, 5.2016, 32.3628)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E9D #689D1E
analogous
#1E299D #531E9D #931E9D
triadic
#531E9D #9D531E #1E9D53
tetradic
#531E9D #9D1E29 #689D1E #1E9D93
square
#531E9D #9D1E29 #689D1E #1E9D93
split-complementary
#531E9D #9D931E #299D1E
monochromatic
#1D0A36 #38146A #531E9D #6E28D0 #8F57DF

Accessibility & contrast

On white

10.29
#531E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#531E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E9D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E9D#FFFFFF#000000##FFFFFF
##531E9D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#3D425E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #531e9d;
/* rgb */ color: rgb(83, 30, 157);
/* oklch */ color: oklch(39.6% 0.186 295.2);
Tailwind
colors: {
  custom: {
    50: '#8b61bb',
    500: '#531e9d',
    950: '#000000',
  },
}
SCSS
$custom: #531e9d;
$custom-light: #8b61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#531e9d",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 265.039,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39632,
    "c": 0.18646,
    "h": 295.2
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#531E9D
secondary
#94C254
accent
#EB3DA2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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