#531B8A#531B8A

#531B8A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.169 H 301.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#531B8A
RGBrgb(83, 27, 138)
HSLhsl(270, 67%, 32%)
HSVhsv(270, 80%, 54%)
CMYKcmyk(39.9%, 80.4%, 0%, 45.9%)
CIE-LABlab(25.13, 46.71, -50.65)
CIE-LCHlch(25.13, 68.90, 312.68°)
OKLaboklab(37.59% 0.0877 -0.1447)
OKLCHoklch(37.59% 0.169 301.2)
XYZxyz(8.5455, 4.4578, 24.4501)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B8A #528A1B
analogous
#1B1B8A #531B8A #8A1B8A
triadic
#531B8A #8A531B #1B8A53
tetradic
#531B8A #8A1B1B #528A1B #1B8A8A
square
#531B8A #8A1B1B #528A1B #1B8A8A
split-complementary
#531B8A #8A8A1B #1B8A1B
monochromatic
#150724 #341157 #531B8A #7225BD #9045DB

Accessibility & contrast

On white

11.10
#531B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#531B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B8A
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B8A#FFFFFF#000000##FFFFFF
##531B8A1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#473952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531b8a;
/* rgb */ color: rgb(83, 27, 138);
/* oklch */ color: oklch(37.6% 0.169 301.2);
Tailwind
colors: {
  custom: {
    50: '#895fad',
    500: '#531b8a',
    950: '#000000',
  },
}
SCSS
$custom: #531b8a;
$custom-light: #895fad;
$custom-dark: #000000;
JSON
{
  "hex": "#531b8a",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 270.27,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37585,
    "c": 0.16921,
    "h": 301.2
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#531B8A
secondary
#80BC45
accent
#EA3E93
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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