#541E9D#541E9D

#541E9D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.187 H 295.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#541E9D
RGBrgb(84, 30, 157)
HSLhsl(266, 68%, 37%)
HSVhsv(266, 81%, 62%)
CMYKcmyk(46.5%, 80.9%, 0%, 38.4%)
CIE-LABlab(27.43, 50.45, -58.60)
CIE-LCHlch(27.43, 77.33, 310.73°)
OKLaboklab(39.75% 0.081 -0.168)
OKLCHoklch(39.75% 0.187 295.7)
XYZxyz(10.2046, 5.2474, 32.3669)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E9D #679D1E
analogous
#1E289D #541E9D #941E9D
triadic
#541E9D #9D541E #1E9D54
tetradic
#541E9D #9D1E28 #679D1E #1E9D94
square
#541E9D #9D1E28 #679D1E #1E9D94
split-complementary
#541E9D #9D941E #289D1E
monochromatic
#1D0A36 #39146A #541E9D #6F28D0 #9157DF

Accessibility & contrast

On white

10.25
#541E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#541E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E9D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E9D#FFFFFF#000000##FFFFFF
##541E9D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#3F425E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #541e9d;
/* rgb */ color: rgb(84, 30, 157);
/* oklch */ color: oklch(39.7% 0.187 295.7);
Tailwind
colors: {
  custom: {
    50: '#8c61bb',
    500: '#541e9d',
    950: '#000000',
  },
}
SCSS
$custom: #541e9d;
$custom-light: #8c61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#541e9d",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 265.512,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.18654,
    "h": 295.7
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#541E9D
secondary
#94C254
accent
#EB3DA1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #541E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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