#531C8B#531C8B

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

Color values

HEX#531C8B
RGBrgb(83, 28, 139)
HSLhsl(270, 66%, 33%)
HSVhsv(270, 80%, 55%)
CMYKcmyk(40.3%, 79.9%, 0%, 45.5%)
CIE-LABlab(25.36, 46.55, -50.89)
CIE-LCHlch(25.36, 68.97, 312.44°)
OKLaboklab(37.77% 0.0866 -0.1454)
OKLCHoklch(37.77% 0.169 300.8)
XYZxyz(8.6416, 4.5335, 24.8409)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C8B #548B1C
analogous
#1C1C8B #531C8B #8B1C8B
triadic
#531C8B #8B531C #1C8B53
tetradic
#531C8B #8B1C1C #548B1C #1C8B8B
square
#531C8B #8B1C1C #548B1C #1C8B8B
split-complementary
#531C8B #8B8B1C #1C8B1C
monochromatic
#160725 #351258 #531C8B #7126BE #9047DA

Accessibility & contrast

On white

11.01
#531C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#531C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C8B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C8B#FFFFFF#000000##FFFFFF
##531C8B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#463A53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531c8b;
/* rgb */ color: rgb(83, 28, 139);
/* oklch */ color: oklch(37.8% 0.169 300.8);
Tailwind
colors: {
  custom: {
    50: '#895fae',
    500: '#531c8b',
    950: '#000000',
  },
}
SCSS
$custom: #531c8b;
$custom-light: #895fae;
$custom-dark: #000000;
JSON
{
  "hex": "#531c8b",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 269.73,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37774,
    "c": 0.16925,
    "h": 300.8
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#531C8B
secondary
#82BC47
accent
#E93E95
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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