#531D9F#531D9F

#531D9F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.189 H 294.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#531D9F
RGBrgb(83, 29, 159)
HSLhsl(265, 69%, 37%)
HSVhsv(265, 82%, 62%)
CMYKcmyk(47.8%, 81.8%, 0%, 37.6%)
CIE-LABlab(27.35, 51.22, -59.95)
CIE-LCHlch(27.35, 78.85, 310.51°)
OKLaboklab(39.73% 0.0795 -0.172)
OKLCHoklch(39.73% 0.189 294.8)
XYZxyz(10.2629, 5.2206, 33.2611)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D9F #699F1D
analogous
#1D289F #531D9F #941D9F
triadic
#531D9F #9F531D #1D9F53
tetradic
#531D9F #9F1D28 #699F1D #1D9F94
square
#531D9F #9F1D28 #699F1D #1D9F94
split-complementary
#531D9F #9F941D #289F1D
monochromatic
#1D0A37 #38146B #531D9F #6E26D3 #9056E0

Accessibility & contrast

On white

10.27
#531D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531D9F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D9F#FFFFFF#000000##FFFFFF
##531D9F1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531d9f;
/* rgb */ color: rgb(83, 29, 159);
/* oklch */ color: oklch(39.7% 0.189 294.8);
Tailwind
colors: {
  custom: {
    50: '#8c61bc',
    500: '#531d9f',
    950: '#000000',
  },
}
SCSS
$custom: #531d9f;
$custom-light: #8c61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#531d9f",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 264.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.18948,
    "h": 294.8
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#531D9F
secondary
#95C454
accent
#EC3CA3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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