#531190#531190

#531190 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.184 H 300.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#531190
RGBrgb(83, 17, 144)
HSLhsl(271, 79%, 32%)
HSVhsv(271, 88%, 56%)
CMYKcmyk(42.4%, 88.2%, 0%, 43.5%)
CIE-LABlab(24.49, 51.67, -55.43)
CIE-LCHlch(24.49, 75.77, 312.99°)
OKLaboklab(37.31% 0.0927 -0.1586)
OKLCHoklch(37.31% 0.184 300.3)
XYZxyz(8.8005, 4.2534, 26.7375)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531190 #4E9011
analogous
#141190 #531190 #90118E
triadic
#531190 #905311 #119053
tetradic
#531190 #901411 #4E9011 #118E90
square
#531190 #901411 #4E9011 #118E90
split-complementary
#531190 #8E9011 #119014
monochromatic
#140423 #330B59 #531190 #7317C7 #9134E7

Accessibility & contrast

On white

11.35
#531190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531190
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531190#FFFFFF#000000##FFFFFF
##5311901.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#443854
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531190;
/* rgb */ color: rgb(83, 17, 144);
/* oklch */ color: oklch(37.3% 0.184 300.3);
Tailwind
colors: {
  custom: {
    50: '#8a5bb2',
    500: '#531190',
    950: '#000000',
  },
}
SCSS
$custom: #531190;
$custom-light: #8a5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#531190",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 271.181,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.18374,
    "h": 300.3
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#531190
secondary
#7CC439
accent
#F53290
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0D0411
muted
#7D7980

Preview Lab

Preview with #531190

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

Preview Lab → · Contrast checker → · Palette generator →

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