#531789#531789

#531789 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.172 H 302.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#531789
RGBrgb(83, 23, 137)
HSLhsl(272, 71%, 31%)
HSVhsv(272, 83%, 54%)
CMYKcmyk(39.4%, 83.2%, 0%, 46.3%)
CIE-LABlab(24.51, 48.01, -51.04)
CIE-LCHlch(24.51, 70.08, 313.25°)
OKLaboklab(37.12% 0.0912 -0.1458)
OKLCHoklch(37.12% 0.172 302)
XYZxyz(8.3879, 4.2579, 24.0420)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531789 #4D8917
analogous
#1A1789 #531789 #891786
triadic
#531789 #895317 #178953
tetradic
#531789 #891A17 #4D8917 #178689
square
#531789 #891A17 #4D8917 #178689
split-complementary
#531789 #868917 #17891A
monochromatic
#140520 #330E55 #531789 #7320BD #913CDE

Accessibility & contrast

On white

11.34
#531789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#531789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531789
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531789#FFFFFF#000000##FFFFFF
##5317891.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#473751
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531789;
/* rgb */ color: rgb(83, 23, 137);
/* oklch */ color: oklch(37.1% 0.172 302.0);
Tailwind
colors: {
  custom: {
    50: '#895dac',
    500: '#531789',
    950: '#000000',
  },
}
SCSS
$custom: #531789;
$custom-light: #895dac;
$custom-dark: #000000;
JSON
{
  "hex": "#531789",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 271.579,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37123,
    "c": 0.17201,
    "h": 302
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#531789
secondary
#7BBD3F
accent
#EE3A8F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531789

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

Preview Lab → · Contrast checker → · Palette generator →

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