#531C9D#531C9D

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

Color values

HEX#531C9D
RGBrgb(83, 28, 157)
HSLhsl(266, 70%, 36%)
HSVhsv(266, 82%, 62%)
CMYKcmyk(47.1%, 82.2%, 0%, 38.4%)
CIE-LABlab(27.03, 51.10, -59.26)
CIE-LCHlch(27.03, 78.25, 310.77°)
OKLaboklab(39.44% 0.0809 -0.17)
OKLCHoklch(39.44% 0.188 295.5)
XYZxyz(10.0667, 5.1036, 32.3464)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C9D #669D1C
analogous
#1C269D #531C9D #941C9D
triadic
#531C9D #9D531C #1C9D53
tetradic
#531C9D #9D1C26 #669D1C #1C9D94
square
#531C9D #9D1C26 #669D1C #1C9D94
split-complementary
#531C9D #9D941C #269D1C
monochromatic
#1C0935 #381369 #531C9D #6E25D1 #8F53E0

Accessibility & contrast

On white

10.39
#531C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#531C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C9D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C9D#FFFFFF#000000##FFFFFF
##531C9D1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531c9d;
/* rgb */ color: rgb(83, 28, 157);
/* oklch */ color: oklch(39.4% 0.188 295.5);
Tailwind
colors: {
  custom: {
    50: '#8b60bb',
    500: '#531c9d',
    950: '#000000',
  },
}
SCSS
$custom: #531c9d;
$custom-light: #8b60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#531c9d",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 265.581,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39442,
    "c": 0.18825,
    "h": 295.5
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#531C9D
secondary
#93C351
accent
#ED3BA1
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #531C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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