#531C97#531C97

#531C97 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.182 H 297.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#531C97
RGBrgb(83, 28, 151)
HSLhsl(267, 69%, 35%)
HSVhsv(267, 81%, 59%)
CMYKcmyk(45%, 81.5%, 0%, 40.8%)
CIE-LABlab(26.46, 49.57, -56.52)
CIE-LCHlch(26.46, 75.18, 311.25°)
OKLaboklab(38.87% 0.0829 -0.1619)
OKLCHoklch(38.87% 0.182 297.1)
XYZxyz(9.5670, 4.9037, 29.7146)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C97 #60971C
analogous
#1C2397 #531C97 #901C97
triadic
#531C97 #97531C #1C9753
tetradic
#531C97 #971C23 #60971C #1C9790
square
#531C97 #971C23 #60971C #1C9790
split-complementary
#531C97 #97901C #23971C
monochromatic
#1A0930 #371263 #531C97 #6F26CB #8F4FDE

Accessibility & contrast

On white

10.60
#531C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#531C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C97
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C97#FFFFFF#000000##FFFFFF
##531C971.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#413F5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #531c97;
/* rgb */ color: rgb(83, 28, 151);
/* oklch */ color: oklch(38.9% 0.182 297.1);
Tailwind
colors: {
  custom: {
    50: '#8b60b7',
    500: '#531c97',
    950: '#000000',
  },
}
SCSS
$custom: #531c97;
$custom-light: #8b60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#531c97",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 266.829,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38874,
    "c": 0.18193,
    "h": 297.1
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#531C97
secondary
#8DC14E
accent
#EC3C9D
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #531C97

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

Preview Lab → · Contrast checker → · Palette generator →

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