#541E8E#541E8E

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

Color values

HEX#541E8E
RGBrgb(84, 30, 142)
HSLhsl(269, 65%, 34%)
HSVhsv(269, 79%, 56%)
CMYKcmyk(40.8%, 78.9%, 0%, 44.3%)
CIE-LABlab(26.06, 46.63, -51.62)
CIE-LCHlch(26.06, 69.56, 312.09°)
OKLaboklab(38.37% 0.0856 -0.1475)
OKLCHoklch(38.37% 0.171 300.1)
XYZxyz(9.0017, 4.7663, 26.0317)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E8E #588E1E
analogous
#1E208E #541E8E #8C1E8E
triadic
#541E8E #8E541E #1E8E54
tetradic
#541E8E #8E1E20 #588E1E #1E8E8C
square
#541E8E #8E1E20 #588E1E #1E8E8C
split-complementary
#541E8E #8E8C1E #208E1E
monochromatic
#180929 #36135B #541E8E #7229C1 #914DD9

Accessibility & contrast

On white

10.75
#541E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541E8E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E8E#FFFFFF#000000##FFFFFF
##541E8E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#463C55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #541e8e;
/* rgb */ color: rgb(84, 30, 142);
/* oklch */ color: oklch(38.4% 0.171 300.1);
Tailwind
colors: {
  custom: {
    50: '#8a60b0',
    500: '#541e8e',
    950: '#000000',
  },
}
SCSS
$custom: #541e8e;
$custom-light: #8a60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#541e8e",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 268.929,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.17054,
    "h": 300.1
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#541E8E
secondary
#86BC4C
accent
#E84097
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #541E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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