#531B89#531B89

#531B89 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.168 H 301.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#531B89
RGBrgb(83, 27, 137)
HSLhsl(271, 67%, 32%)
HSVhsv(271, 80%, 54%)
CMYKcmyk(39.4%, 80.3%, 0%, 46.3%)
CIE-LABlab(25.04, 46.46, -50.17)
CIE-LCHlch(25.04, 68.38, 312.80°)
OKLaboklab(37.5% 0.088 -0.1433)
OKLCHoklch(37.5% 0.168 301.6)
XYZxyz(8.4735, 4.4290, 24.0705)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B89 #51891B
analogous
#1C1B89 #531B89 #891B88
triadic
#531B89 #89531B #1B8953
tetradic
#531B89 #891C1B #51891B #1B8889
square
#531B89 #891C1B #51891B #1B8889
split-complementary
#531B89 #88891B #1B891C
monochromatic
#150723 #341156 #531B89 #7225BC #9144DA

Accessibility & contrast

On white

11.14
#531B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531B89
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B89#FFFFFF#000000##FFFFFF
##531B891.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#473952
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531b89;
/* rgb */ color: rgb(83, 27, 137);
/* oklch */ color: oklch(37.5% 0.168 301.6);
Tailwind
colors: {
  custom: {
    50: '#895fac',
    500: '#531b89',
    950: '#000000',
  },
}
SCSS
$custom: #531b89;
$custom-light: #895fac;
$custom-dark: #000000;
JSON
{
  "hex": "#531b89",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 270.545,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37496,
    "c": 0.16817,
    "h": 301.6
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#531B89
secondary
#7FBC44
accent
#EA3E92
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531B89

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

Preview Lab → · Contrast checker → · Palette generator →

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