#531984#531984

#531984 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.165 H 303.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#531984
RGBrgb(83, 25, 132)
HSLhsl(273, 68%, 31%)
HSVhsv(273, 81%, 52%)
CMYKcmyk(37.1%, 81.1%, 0%, 48.2%)
CIE-LABlab(24.32, 46.04, -48.21)
CIE-LCHlch(24.32, 66.66, 313.68°)
OKLaboklab(36.86% 0.0911 -0.1375)
OKLCHoklch(36.86% 0.165 303.5)
XYZxyz(8.0788, 4.2002, 22.2104)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531984 #4A8419
analogous
#1D1984 #531984 #84197F
triadic
#531984 #845319 #198453
tetradic
#531984 #841D19 #4A8419 #197F84
square
#531984 #841D19 #4A8419 #197F84
split-complementary
#531984 #7F8419 #19841D
monochromatic
#12061D #330F51 #531984 #7323B7 #923DDA

Accessibility & contrast

On white

11.41
#531984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#531984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531984
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531984#FFFFFF#000000##FFFFFF
##5319841.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#49364F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531984;
/* rgb */ color: rgb(83, 25, 132);
/* oklch */ color: oklch(36.9% 0.165 303.5);
Tailwind
colors: {
  custom: {
    50: '#895da9',
    500: '#531984',
    950: '#000000',
  },
}
SCSS
$custom: #531984;
$custom-light: #895da9;
$custom-dark: #000000;
JSON
{
  "hex": "#531984",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 272.523,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36857,
    "c": 0.16498,
    "h": 303.5
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#531984
secondary
#77B841
accent
#EB3D8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531984

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

Preview Lab → · Contrast checker → · Palette generator →

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