#541C91#541C91

#541C91 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.176 H 299.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#541C91
RGBrgb(84, 28, 145)
HSLhsl(269, 68%, 34%)
HSVhsv(269, 81%, 57%)
CMYKcmyk(42.1%, 80.7%, 0%, 43.1%)
CIE-LABlab(26.04, 48.21, -53.51)
CIE-LCHlch(26.04, 72.03, 312.02°)
OKLaboklab(38.44% 0.0864 -0.1531)
OKLCHoklch(38.44% 0.176 299.4)
XYZxyz(9.1809, 4.7595, 27.2176)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C91 #59911C
analogous
#1C1F91 #541C91 #8F1C91
triadic
#541C91 #91541C #1C9154
tetradic
#541C91 #911C1F #59911C #1C918F
square
#541C91 #911C1F #59911C #1C918F
split-complementary
#541C91 #918F1C #1F911C
monochromatic
#19082A #36125E #541C91 #7226C4 #914BDC

Accessibility & contrast

On white

10.76
#541C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C91
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C91#FFFFFF#000000##FFFFFF
##541C911.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#453C57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #541c91;
/* rgb */ color: rgb(84, 28, 145);
/* oklch */ color: oklch(38.4% 0.176 299.4);
Tailwind
colors: {
  custom: {
    50: '#8b60b2',
    500: '#541c91',
    950: '#000000',
  },
}
SCSS
$custom: #541c91;
$custom-light: #8b60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#541c91",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 268.718,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.17574,
    "h": 299.4
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#541C91
secondary
#87BE4A
accent
#EB3D98
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #541C91

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

Preview Lab → · Contrast checker → · Palette generator →

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