#531C90#531C90

#531C90 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.175 H 299.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#531C90
RGBrgb(83, 28, 144)
HSLhsl(268, 67%, 34%)
HSVhsv(268, 81%, 56%)
CMYKcmyk(42.4%, 80.6%, 0%, 43.5%)
CIE-LABlab(25.81, 47.80, -53.26)
CIE-LCHlch(25.81, 71.57, 311.91°)
OKLaboklab(38.23% 0.0851 -0.1524)
OKLCHoklch(38.23% 0.175 299.2)
XYZxyz(9.0153, 4.6830, 26.8091)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531C90 #59901C
analogous
#1C1F90 #531C90 #8D1C90
triadic
#531C90 #90531C #1C9053
tetradic
#531C90 #901C1F #59901C #1C908D
square
#531C90 #901C1F #59901C #1C908D
split-complementary
#531C90 #908D1C #1F901C
monochromatic
#18082A #35125D #531C90 #7126C3 #8F4ADC

Accessibility & contrast

On white

10.84
#531C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531C90
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531C90#FFFFFF#000000##FFFFFF
##531C901.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#443C56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531c90;
/* rgb */ color: rgb(83, 28, 144);
/* oklch */ color: oklch(38.2% 0.175 299.2);
Tailwind
colors: {
  custom: {
    50: '#8a5fb1',
    500: '#531c90',
    950: '#000000',
  },
}
SCSS
$custom: #531c90;
$custom-light: #8a5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#531c90",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 268.448,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.17454,
    "h": 299.2
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#531C90
secondary
#87BE4A
accent
#EA3D98
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531C90

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

Preview Lab → · Contrast checker → · Palette generator →

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