#531C91#531C91

#531C91 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.176 H 298.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#531C91
RGBrgb(83, 28, 145)
HSLhsl(268, 68%, 34%)
HSVhsv(268, 81%, 57%)
CMYKcmyk(42.8%, 80.7%, 0%, 43.1%)
CIE-LABlab(25.90, 48.05, -53.73)
CIE-LCHlch(25.90, 72.09, 311.81°)
OKLaboklab(38.32% 0.0848 -0.1538)
OKLCHoklch(38.32% 0.176 298.9)
XYZxyz(9.0921, 4.7137, 27.2134)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C91 #5A911C
analogous
#1C2091 #531C91 #8E1C91
triadic
#531C91 #91531C #1C9153
tetradic
#531C91 #911C20 #5A911C #1C918E
square
#531C91 #911C20 #5A911C #1C918E
split-complementary
#531C91 #918E1C #20911C
monochromatic
#18082A #36125E #531C91 #7026C4 #8F4BDC

Accessibility & contrast

On white

10.81
#531C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#531C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531C91
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C91#FFFFFF#000000##FFFFFF
##531C911.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#443C57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531c91;
/* rgb */ color: rgb(83, 28, 145);
/* oklch */ color: oklch(38.3% 0.176 298.9);
Tailwind
colors: {
  custom: {
    50: '#8a60b2',
    500: '#531c91',
    950: '#000000',
  },
}
SCSS
$custom: #531c91;
$custom-light: #8a60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#531c91",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 268.205,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.1756,
    "h": 298.9
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#531C91
secondary
#88BE4A
accent
#EB3D99
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531C91

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

Preview Lab → · Contrast checker → · Palette generator →

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