#541890#541890

#541890 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.178 H 300.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#541890
RGBrgb(84, 24, 144)
HSLhsl(270, 71%, 33%)
HSVhsv(270, 83%, 56%)
CMYKcmyk(41.7%, 83.3%, 0%, 43.5%)
CIE-LABlab(25.42, 49.51, -53.91)
CIE-LCHlch(25.42, 73.19, 312.56°)
OKLaboklab(37.98% 0.0897 -0.1542)
OKLCHoklch(37.98% 0.178 300.2)
XYZxyz(9.0156, 4.5516, 26.7837)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541890 #549018
analogous
#181890 #541890 #901890
triadic
#541890 #905418 #189054
tetradic
#541890 #901818 #549018 #189090
square
#541890 #901818 #549018 #189090
split-complementary
#541890 #909018 #189018
monochromatic
#170727 #350F5C #541890 #7321C4 #9143E0

Accessibility & contrast

On white

10.99
#541890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#541890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541890
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541890#FFFFFF#000000##FFFFFF
##5418901.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#463A55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #541890;
/* rgb */ color: rgb(84, 24, 144);
/* oklch */ color: oklch(38.0% 0.178 300.2);
Tailwind
colors: {
  custom: {
    50: '#8b5eb2',
    500: '#541890',
    950: '#000000',
  },
}
SCSS
$custom: #541890;
$custom-light: #8b5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#541890",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 270,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37982,
    "c": 0.1784,
    "h": 300.2
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#541890
secondary
#82C043
accent
#EE3A94
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #541890

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

Preview Lab → · Contrast checker → · Palette generator →

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