#531B85#531B85

#531B85 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.164 H 302.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#531B85
RGBrgb(83, 27, 133)
HSLhsl(272, 66%, 31%)
HSVhsv(272, 80%, 52%)
CMYKcmyk(37.6%, 79.7%, 0%, 47.8%)
CIE-LABlab(24.69, 45.47, -48.24)
CIE-LCHlch(24.69, 66.29, 313.31°)
OKLaboklab(37.14% 0.0891 -0.1376)
OKLCHoklch(37.14% 0.164 302.9)
XYZxyz(8.1918, 4.3163, 22.5873)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B85 #4D851B
analogous
#1E1B85 #531B85 #851B82
triadic
#531B85 #85531B #1B8553
tetradic
#531B85 #851E1B #4D851B #1B8285
square
#531B85 #851E1B #4D851B #1B8285
split-complementary
#531B85 #82851B #1B851E
monochromatic
#14061F #331152 #531B85 #7325B8 #9142D9

Accessibility & contrast

On white

11.27
#531B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#531B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B85
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B85#FFFFFF#000000##FFFFFF
##531B851.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#493750
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #531b85;
/* rgb */ color: rgb(83, 27, 133);
/* oklch */ color: oklch(37.1% 0.164 302.9);
Tailwind
colors: {
  custom: {
    50: '#895ea9',
    500: '#531b85',
    950: '#000000',
  },
}
SCSS
$custom: #531b85;
$custom-light: #895ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#531b85",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 271.698,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37142,
    "c": 0.16395,
    "h": 302.9
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#531B85
secondary
#7BB844
accent
#E93F8F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531B85

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

Preview Lab → · Contrast checker → · Palette generator →

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