#531B97#531B97

#531B97 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.183 H 297.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#531B97
RGBrgb(83, 27, 151)
HSLhsl(267, 70%, 35%)
HSVhsv(267, 82%, 59%)
CMYKcmyk(45%, 82.1%, 0%, 40.8%)
CIE-LABlab(26.32, 49.97, -56.75)
CIE-LCHlch(26.32, 75.61, 311.37°)
OKLaboklab(38.78% 0.0837 -0.1626)
OKLCHoklch(38.78% 0.183 297.2)
XYZxyz(9.5437, 4.8570, 29.7068)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B97 #5F971B
analogous
#1B2197 #531B97 #911B97
triadic
#531B97 #97531B #1B9753
tetradic
#531B97 #971B21 #5F971B #1B9791
square
#531B97 #971B21 #5F971B #1B9791
split-complementary
#531B97 #97911B #21971B
monochromatic
#1A082F #361263 #531B97 #7024CB #8F4DDF

Accessibility & contrast

On white

10.65
#531B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#531B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B97
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B97#FFFFFF#000000##FFFFFF
##531B971.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531b97;
/* rgb */ color: rgb(83, 27, 151);
/* oklch */ color: oklch(38.8% 0.183 297.2);
Tailwind
colors: {
  custom: {
    50: '#8b5fb7',
    500: '#531b97',
    950: '#000000',
  },
}
SCSS
$custom: #531b97;
$custom-light: #8b5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#531b97",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 267.097,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.18284,
    "h": 297.2
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#531B97
secondary
#8DC14C
accent
#EC3B9C
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #531B97

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

Preview Lab → · Contrast checker → · Palette generator →

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