#531E9F#531E9F

#531E9F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.189 H 294.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#531E9F
RGBrgb(83, 30, 159)
HSLhsl(265, 68%, 37%)
HSVhsv(265, 81%, 62%)
CMYKcmyk(47.8%, 81.1%, 0%, 37.6%)
CIE-LABlab(27.49, 50.82, -59.72)
CIE-LCHlch(27.49, 78.42, 310.40°)
OKLaboklab(39.82% 0.0788 -0.1713)
OKLCHoklch(39.82% 0.189 294.7)
XYZxyz(10.2879, 5.2705, 33.2694)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E9F #6A9F1E
analogous
#1E2A9F #531E9F #941E9F
triadic
#531E9F #9F531E #1E9F53
tetradic
#531E9F #9F1E2A #6A9F1E #1E9F94
square
#531E9F #9F1E2A #6A9F1E #1E9F94
split-complementary
#531E9F #9F941E #2A9F1E
monochromatic
#1D0B38 #38146C #531E9F #6E28D2 #9058DF

Accessibility & contrast

On white

10.22
#531E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#531E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E9F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E9F#FFFFFF#000000##FFFFFF
##531E9F1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#3C435F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #531e9f;
/* rgb */ color: rgb(83, 30, 159);
/* oklch */ color: oklch(39.8% 0.189 294.7);
Tailwind
colors: {
  custom: {
    50: '#8c61bc',
    500: '#531e9f',
    950: '#000000',
  },
}
SCSS
$custom: #531e9f;
$custom-light: #8c61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#531e9f",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 264.651,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39822,
    "c": 0.18859,
    "h": 294.7
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#531E9F
secondary
#96C356
accent
#EB3DA3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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