#531D9E#531D9E

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

Color values

HEX#531D9E
RGBrgb(83, 29, 158)
HSLhsl(265, 69%, 37%)
HSVhsv(265, 82%, 62%)
CMYKcmyk(47.5%, 81.6%, 0%, 38%)
CIE-LABlab(27.26, 50.96, -59.50)
CIE-LCHlch(27.26, 78.34, 310.58°)
OKLaboklab(39.63% 0.0799 -0.1707)
OKLCHoklch(39.63% 0.188 295.1)
XYZxyz(10.1765, 5.1861, 32.8060)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D9E #689E1D
analogous
#1D289E #531D9E #941D9E
triadic
#531D9E #9E531D #1D9E53
tetradic
#531D9E #9E1D28 #689E1D #1D9E94
square
#531D9E #9E1D28 #689E1D #1D9E94
split-complementary
#531D9E #9E941D #289E1D
monochromatic
#1D0A37 #38146A #531D9E #6E26D2 #8F56E0

Accessibility & contrast

On white

10.31
#531D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531D9E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D9E#FFFFFF#000000##FFFFFF
##531D9E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531d9e;
/* rgb */ color: rgb(83, 29, 158);
/* oklch */ color: oklch(39.6% 0.188 295.1);
Tailwind
colors: {
  custom: {
    50: '#8c61bc',
    500: '#531d9e',
    950: '#000000',
  },
}
SCSS
$custom: #531d9e;
$custom-light: #8c61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#531d9e",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 265.116,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.18842,
    "h": 295.1
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#531D9E
secondary
#94C354
accent
#EC3CA2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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