#541E9F#541E9F

#541E9F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.189 H 295.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#541E9F
RGBrgb(84, 30, 159)
HSLhsl(265, 68%, 37%)
HSVhsv(265, 81%, 62%)
CMYKcmyk(47.2%, 81.1%, 0%, 37.6%)
CIE-LABlab(27.62, 50.96, -59.51)
CIE-LCHlch(27.62, 78.35, 310.58°)
OKLaboklab(39.94% 0.0804 -0.1707)
OKLCHoklch(39.94% 0.189 295.2)
XYZxyz(10.3767, 5.3163, 33.2736)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E9F #699F1E
analogous
#1E299F #541E9F #951E9F
triadic
#541E9F #9F541E #1E9F54
tetradic
#541E9F #9F1E29 #699F1E #1E9F95
square
#541E9F #9F1E29 #699F1E #1E9F95
split-complementary
#541E9F #9F951E #299F1E
monochromatic
#1E0B38 #39146C #541E9F #6F28D2 #9158DF

Accessibility & contrast

On white

10.18
#541E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#541E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E9F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E9F#FFFFFF#000000##FFFFFF
##541E9F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#3E435F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #541e9f;
/* rgb */ color: rgb(84, 30, 159);
/* oklch */ color: oklch(39.9% 0.189 295.2);
Tailwind
colors: {
  custom: {
    50: '#8c61bc',
    500: '#541e9f',
    950: '#000000',
  },
}
SCSS
$custom: #541e9f;
$custom-light: #8c61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#541e9f",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 265.116,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39937,
    "c": 0.18866,
    "h": 295.2
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#541E9F
secondary
#95C356
accent
#EB3DA2
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #541E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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