#531C85#531C85

#531C85 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.163 H 302.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#531C85
RGBrgb(83, 28, 133)
HSLhsl(271, 65%, 32%)
HSVhsv(271, 79%, 52%)
CMYKcmyk(37.6%, 78.9%, 0%, 47.8%)
CIE-LABlab(24.84, 45.05, -48.00)
CIE-LCHlch(24.84, 65.83, 313.18°)
OKLaboklab(37.24% 0.0882 -0.1369)
OKLCHoklch(37.24% 0.163 302.8)
XYZxyz(8.2152, 4.3630, 22.5951)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C85 #4E851C
analogous
#1F1C85 #531C85 #851C83
triadic
#531C85 #85531C #1C8553
tetradic
#531C85 #851F1C #4E851C #1C8385
square
#531C85 #851F1C #4E851C #1C8385
split-complementary
#531C85 #83851C #1C851F
monochromatic
#140720 #331152 #531C85 #7327B8 #9144D8

Accessibility & contrast

On white

11.21
#531C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#531C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C85
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C85#FFFFFF#000000##FFFFFF
##531C851.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531c85;
/* rgb */ color: rgb(83, 28, 133);
/* oklch */ color: oklch(37.2% 0.163 302.8);
Tailwind
colors: {
  custom: {
    50: '#895fa9',
    500: '#531c85',
    950: '#000000',
  },
}
SCSS
$custom: #531c85;
$custom-light: #895fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#531c85",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 271.429,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37244,
    "c": 0.16289,
    "h": 302.8
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#531C85
secondary
#7CB845
accent
#E84090
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531C85

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

Preview Lab → · Contrast checker → · Palette generator →

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