#531C8F#531C8F

#531C8F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.173 H 299.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#531C8F
RGBrgb(83, 28, 143)
HSLhsl(269, 67%, 34%)
HSVhsv(269, 80%, 56%)
CMYKcmyk(42%, 80.4%, 0%, 43.9%)
CIE-LABlab(25.72, 47.55, -52.79)
CIE-LCHlch(25.72, 71.05, 312.01°)
OKLaboklab(38.14% 0.0854 -0.151)
OKLCHoklch(38.14% 0.173 299.5)
XYZxyz(8.9392, 4.6526, 26.4083)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C8F #588F1C
analogous
#1C1E8F #531C8F #8C1C8F
triadic
#531C8F #8F531C #1C8F53
tetradic
#531C8F #8F1C1E #588F1C #1C8F8C
square
#531C8F #8F1C1E #588F1C #1C8F8C
split-complementary
#531C8F #8F8C1C #1E8F1C
monochromatic
#180829 #35125C #531C8F #7126C2 #904ADC

Accessibility & contrast

On white

10.88
#531C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#531C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C8F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C8F#FFFFFF#000000##FFFFFF
##531C8F1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#443C55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531c8f;
/* rgb */ color: rgb(83, 28, 143);
/* oklch */ color: oklch(38.1% 0.173 299.5);
Tailwind
colors: {
  custom: {
    50: '#8a5fb1',
    500: '#531c8f',
    950: '#000000',
  },
}
SCSS
$custom: #531c8f;
$custom-light: #8a5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#531c8f",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 268.696,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38135,
    "c": 0.17349,
    "h": 299.5
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#531C8F
secondary
#86BE49
accent
#EA3E98
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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