#531889#531889

#531889 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.171 H 301.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#531889
RGBrgb(83, 24, 137)
HSLhsl(271, 70%, 32%)
HSVhsv(271, 82%, 54%)
CMYKcmyk(39.4%, 82.5%, 0%, 46.3%)
CIE-LABlab(24.63, 47.64, -50.84)
CIE-LCHlch(24.63, 69.67, 313.14°)
OKLaboklab(37.21% 0.0905 -0.1452)
OKLCHoklch(37.21% 0.171 301.9)
XYZxyz(8.4082, 4.2984, 24.0488)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531889 #4E8918
analogous
#1A1889 #531889 #891887
triadic
#531889 #895318 #188953
tetradic
#531889 #891A18 #4E8918 #188789
square
#531889 #891A18 #4E8918 #188789
split-complementary
#531889 #878918 #18891A
monochromatic
#140621 #330F55 #531889 #7321BD #913EDD

Accessibility & contrast

On white

11.29
#531889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#531889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531889
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531889#FFFFFF#000000##FFFFFF
##5318891.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531889;
/* rgb */ color: rgb(83, 24, 137);
/* oklch */ color: oklch(37.2% 0.171 301.9);
Tailwind
colors: {
  custom: {
    50: '#895dac',
    500: '#531889',
    950: '#000000',
  },
}
SCSS
$custom: #531889;
$custom-light: #895dac;
$custom-dark: #000000;
JSON
{
  "hex": "#531889",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 271.327,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37212,
    "c": 0.17109,
    "h": 301.9
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#531889
secondary
#7CBD40
accent
#ED3B90
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531889

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

Preview Lab → · Contrast checker → · Palette generator →

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