#541190#541190

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

Color values

HEX#541190
RGBrgb(84, 17, 144)
HSLhsl(272, 79%, 32%)
HSVhsv(272, 88%, 56%)
CMYKcmyk(41.7%, 88.2%, 0%, 43.5%)
CIE-LABlab(24.64, 51.80, -55.18)
CIE-LCHlch(24.64, 75.69, 313.19°)
OKLaboklab(37.44% 0.0943 -0.1579)
OKLCHoklch(37.44% 0.184 300.8)
XYZxyz(8.8894, 4.2993, 26.7417)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541190 #4D9011
analogous
#151190 #541190 #90118D
triadic
#541190 #905411 #119054
tetradic
#541190 #901511 #4D9011 #118D90
square
#541190 #901511 #4D9011 #118D90
split-complementary
#541190 #8D9011 #119015
monochromatic
#140423 #340B59 #541190 #7417C7 #9334E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541190#FFFFFF#000000##FFFFFF
##5411901.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)
#003A93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#463854
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541190;
/* rgb */ color: rgb(84, 17, 144);
/* oklch */ color: oklch(37.4% 0.184 300.8);
Tailwind
colors: {
  custom: {
    50: '#8b5bb2',
    500: '#541190',
    950: '#000000',
  },
}
SCSS
$custom: #541190;
$custom-light: #8b5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#541190",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 271.654,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37444,
    "c": 0.18389,
    "h": 300.8
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#541190
secondary
#7BC439
accent
#F5328F
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0411
muted
#7E7980

Preview Lab

Preview with #541190

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

Preview Lab → · Contrast checker → · Palette generator →

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