#531574#531574

#531574 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.153 H 310.3°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#531574
RGBrgb(83, 21, 116)
HSLhsl(279, 69%, 27%)
HSVhsv(279, 82%, 45%)
CMYKcmyk(28.4%, 81.9%, 0%, 54.5%)
CIE-LABlab(22.43, 43.80, -41.12)
CIE-LCHlch(22.43, 60.08, 316.81°)
OKLaboklab(35.11% 0.0988 -0.1167)
OKLCHoklch(35.11% 0.153 310.3)
XYZxyz(6.9872, 3.6364, 16.8534)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531574 #367415
analogous
#241574 #531574 #741566
triadic
#531574 #745315 #157453
tetradic
#531574 #742415 #367415 #156674
square
#531574 #742415 #367415 #156674
split-complementary
#531574 #667415 #157424
monochromatic
#13051A #2E0C40 #531574 #781EA8 #9C2BD9

Accessibility & contrast

On white

12.16
#531574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#531574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531574
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531574#FFFFFF#000000##FFFFFF
##5315741.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#4E2D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531574;
/* rgb */ color: rgb(83, 21, 116);
/* oklch */ color: oklch(35.1% 0.153 310.3);
Tailwind
colors: {
  custom: {
    50: '#875b9d',
    500: '#531574',
    950: '#000000',
  },
}
SCSS
$custom: #531574;
$custom-light: #875b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#531574",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 279.158,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35111,
    "c": 0.15288,
    "h": 310.3
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#531574
secondary
#61AA3B
accent
#EC3C79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531574

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

Preview Lab → · Contrast checker → · Palette generator →

#531574 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva