#541E8F#541E8F

#541E8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.172 H 299.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#541E8F
RGBrgb(84, 30, 143)
HSLhsl(269, 65%, 34%)
HSVhsv(269, 79%, 56%)
CMYKcmyk(41.3%, 79%, 0%, 43.9%)
CIE-LABlab(26.15, 46.88, -52.09)
CIE-LCHlch(26.15, 70.08, 311.99°)
OKLaboklab(38.46% 0.0853 -0.1489)
OKLCHoklch(38.46% 0.172 299.8)
XYZxyz(9.0771, 4.7964, 26.4289)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E8F #598F1E
analogous
#1E208F #541E8F #8D1E8F
triadic
#541E8F #8F541E #1E8F54
tetradic
#541E8F #8F1E20 #598F1E #1E8F8D
square
#541E8F #8F1E20 #598F1E #1E8F8D
split-complementary
#541E8F #8F8D1E #208F1E
monochromatic
#19092A #36135C #541E8F #7229C2 #914EDA

Accessibility & contrast

On white

10.72
#541E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#541E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E8F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E8F#FFFFFF#000000##FFFFFF
##541E8F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#463C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #541e8f;
/* rgb */ color: rgb(84, 30, 143);
/* oklch */ color: oklch(38.5% 0.172 299.8);
Tailwind
colors: {
  custom: {
    50: '#8a60b1',
    500: '#541e8f',
    950: '#000000',
  },
}
SCSS
$custom: #541e8f;
$custom-light: #8a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#541e8f",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 268.673,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38462,
    "c": 0.17161,
    "h": 299.8
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#541E8F
secondary
#87BC4C
accent
#E84098
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #541E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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