#531E9B#531E9B

#531E9B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.184 H 295.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#531E9B
RGBrgb(83, 30, 155)
HSLhsl(265, 68%, 36%)
HSVhsv(265, 81%, 61%)
CMYKcmyk(46.5%, 80.6%, 0%, 39.2%)
CIE-LABlab(27.11, 49.79, -57.90)
CIE-LCHlch(27.11, 76.36, 310.69°)
OKLaboklab(39.44% 0.0801 -0.166)
OKLCHoklch(39.44% 0.184 295.8)
XYZxyz(9.9464, 5.1339, 31.4709)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E9B #669B1E
analogous
#1E289B #531E9B #921E9B
triadic
#531E9B #9B531E #1E9B53
tetradic
#531E9B #9B1E28 #669B1E #1E9B92
square
#531E9B #9B1E28 #669B1E #1E9B92
split-complementary
#531E9B #9B921E #289B1E
monochromatic
#1C0A34 #381468 #531E9B #6E28CE #8F55DE

Accessibility & contrast

On white

10.36
#531E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#531E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E9B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E9B#FFFFFF#000000##FFFFFF
##531E9B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#3F425D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #531e9b;
/* rgb */ color: rgb(83, 30, 155);
/* oklch */ color: oklch(39.4% 0.184 295.8);
Tailwind
colors: {
  custom: {
    50: '#8b61ba',
    500: '#531e9b',
    950: '#000000',
  },
}
SCSS
$custom: #531e9b;
$custom-light: #8b61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#531e9b",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 265.44,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39443,
    "c": 0.18432,
    "h": 295.8
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#531E9B
secondary
#93C253
accent
#EA3DA1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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