#531884#531884

#531884 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.166 H 303.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#531884
RGBrgb(83, 24, 132)
HSLhsl(273, 69%, 31%)
HSVhsv(273, 82%, 52%)
CMYKcmyk(37.1%, 81.8%, 0%, 48.2%)
CIE-LABlab(24.19, 46.43, -48.43)
CIE-LCHlch(24.19, 67.09, 313.79°)
OKLaboklab(36.76% 0.092 -0.1382)
OKLCHoklch(36.76% 0.166 303.7)
XYZxyz(8.0578, 4.1582, 22.2034)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531884 #498418
analogous
#1D1884 #531884 #84187F
triadic
#531884 #845318 #188453
tetradic
#531884 #841D18 #498418 #187F84
square
#531884 #841D18 #498418 #187F84
split-complementary
#531884 #7F8418 #18841D
monochromatic
#12051C #320F50 #531884 #7421B8 #933BDB

Accessibility & contrast

On white

11.47
#531884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#531884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531884
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531884#FFFFFF#000000##FFFFFF
##5318841.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#49354E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531884;
/* rgb */ color: rgb(83, 24, 132);
/* oklch */ color: oklch(36.8% 0.166 303.7);
Tailwind
colors: {
  custom: {
    50: '#895da9',
    500: '#531884',
    950: '#000000',
  },
}
SCSS
$custom: #531884;
$custom-light: #895da9;
$custom-dark: #000000;
JSON
{
  "hex": "#531884",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 272.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36763,
    "c": 0.16597,
    "h": 303.7
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#531884
secondary
#76B840
accent
#EC3C8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531884

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

Preview Lab → · Contrast checker → · Palette generator →

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