#541A93#541A93

#541A93 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.180 H 299.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#541A93
RGBrgb(84, 26, 147)
HSLhsl(269, 70%, 34%)
HSVhsv(269, 82%, 58%)
CMYKcmyk(42.9%, 82.3%, 0%, 42.4%)
CIE-LABlab(25.95, 49.50, -54.89)
CIE-LCHlch(25.95, 73.91, 312.05°)
OKLaboklab(38.44% 0.0873 -0.1571)
OKLCHoklch(38.44% 0.18 299.1)
XYZxyz(9.2907, 4.7301, 28.0216)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A93 #59931A
analogous
#1A1D93 #541A93 #911A93
triadic
#541A93 #93541A #1A9354
tetradic
#541A93 #931A1D #59931A #1A9391
square
#541A93 #931A1D #59931A #1A9391
split-complementary
#541A93 #93911A #1D931A
monochromatic
#19082B #36115F #541A93 #7223C7 #9149DF

Accessibility & contrast

On white

10.79
#541A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#541A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A93
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A93#FFFFFF#000000##FFFFFF
##541A931.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#443C57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #541a93;
/* rgb */ color: rgb(84, 26, 147);
/* oklch */ color: oklch(38.4% 0.180 299.1);
Tailwind
colors: {
  custom: {
    50: '#8b5fb4',
    500: '#541a93',
    950: '#000000',
  },
}
SCSS
$custom: #541a93;
$custom-light: #8b5fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#541a93",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 268.76,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38438,
    "c": 0.1797,
    "h": 299.1
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#541A93
secondary
#87C048
accent
#ED3B98
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #541A93

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

Preview Lab → · Contrast checker → · Palette generator →

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