#541A90#541A90

#541A90 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.177 H 300.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#541A90
RGBrgb(84, 26, 144)
HSLhsl(269, 69%, 33%)
HSVhsv(269, 82%, 56%)
CMYKcmyk(41.7%, 81.9%, 0%, 43.5%)
CIE-LABlab(25.67, 48.76, -53.48)
CIE-LCHlch(25.67, 72.37, 312.35°)
OKLaboklab(38.16% 0.0882 -0.153)
OKLCHoklch(38.16% 0.177 300)
XYZxyz(9.0583, 4.6371, 26.7980)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A90 #56901A
analogous
#1A1B90 #541A90 #8F1A90
triadic
#541A90 #90541A #1A9054
tetradic
#541A90 #901A1B #56901A #1A908F
square
#541A90 #901A1B #56901A #1A908F
split-complementary
#541A90 #908F1A #1B901A
monochromatic
#180728 #36115C #541A90 #7223C4 #9147DE

Accessibility & contrast

On white

10.90
#541A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#541A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A90
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A90#FFFFFF#000000##FFFFFF
##541A901.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#463B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #541a90;
/* rgb */ color: rgb(84, 26, 144);
/* oklch */ color: oklch(38.2% 0.177 300.0);
Tailwind
colors: {
  custom: {
    50: '#8b5fb1',
    500: '#541a90',
    950: '#000000',
  },
}
SCSS
$custom: #541a90;
$custom-light: #8b5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#541a90",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 269.492,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.1766,
    "h": 300
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#541A90
secondary
#84BF47
accent
#EC3C95
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #541A90

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

Preview Lab → · Contrast checker → · Palette generator →

#541A90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva