#531C8C#531C8C

#531C8C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.170 H 300.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#531C8C
RGBrgb(83, 28, 140)
HSLhsl(269, 67%, 33%)
HSVhsv(269, 80%, 55%)
CMYKcmyk(40.7%, 80%, 0%, 45.1%)
CIE-LABlab(25.45, 46.80, -51.37)
CIE-LCHlch(25.45, 69.49, 312.33°)
OKLaboklab(37.86% 0.0863 -0.1468)
OKLCHoklch(37.86% 0.17 300.4)
XYZxyz(8.7150, 4.5629, 25.2274)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C8C #558C1C
analogous
#1C1D8C #531C8C #8B1C8C
triadic
#531C8C #8C531C #1C8C53
tetradic
#531C8C #8C1C1D #558C1C #1C8C8B
square
#531C8C #8C1C1D #558C1C #1C8C8B
split-complementary
#531C8C #8C8B1C #1D8C1C
monochromatic
#170826 #351259 #531C8C #7126BF #9048DA

Accessibility & contrast

On white

10.98
#531C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531C8C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C8C#FFFFFF#000000##FFFFFF
##531C8C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#463A54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531c8c;
/* rgb */ color: rgb(83, 28, 140);
/* oklch */ color: oklch(37.9% 0.170 300.4);
Tailwind
colors: {
  custom: {
    50: '#895faf',
    500: '#531c8c',
    950: '#000000',
  },
}
SCSS
$custom: #531c8c;
$custom-light: #895faf;
$custom-dark: #000000;
JSON
{
  "hex": "#531c8c",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 269.464,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.17031,
    "h": 300.4
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#531C8C
secondary
#83BC48
accent
#EA3E95
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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