#531C8D#531C8D

#531C8D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.171 H 300.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#531C8D
RGBrgb(83, 28, 141)
HSLhsl(269, 67%, 33%)
HSVhsv(269, 80%, 55%)
CMYKcmyk(41.1%, 80.1%, 0%, 44.7%)
CIE-LABlab(25.54, 47.05, -51.85)
CIE-LCHlch(25.54, 70.01, 312.22°)
OKLaboklab(37.95% 0.086 -0.1482)
OKLCHoklch(37.95% 0.171 300.1)
XYZxyz(8.7890, 4.5925, 25.6175)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C8D #568D1C
analogous
#1C1D8D #531C8D #8B1C8D
triadic
#531C8D #8D531C #1C8D53
tetradic
#531C8D #8D1C1D #568D1C #1C8D8B
square
#531C8D #8D1C1D #568D1C #1C8D8B
split-complementary
#531C8D #8D8B1C #1D8D1C
monochromatic
#170827 #35125A #531C8D #7126C0 #9049DB

Accessibility & contrast

On white

10.95
#531C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#531C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C8D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C8D#FFFFFF#000000##FFFFFF
##531C8D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#453B54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531c8d;
/* rgb */ color: rgb(83, 28, 141);
/* oklch */ color: oklch(38.0% 0.171 300.1);
Tailwind
colors: {
  custom: {
    50: '#895faf',
    500: '#531c8d',
    950: '#000000',
  },
}
SCSS
$custom: #531c8d;
$custom-light: #895faf;
$custom-dark: #000000;
JSON
{
  "hex": "#531c8d",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 269.204,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37954,
    "c": 0.17137,
    "h": 300.1
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#531C8D
secondary
#84BD48
accent
#EA3E96
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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