#541E89#541E89

#541E89 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.165 H 301.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#541E89
RGBrgb(84, 30, 137)
HSLhsl(270, 64%, 33%)
HSVhsv(270, 78%, 54%)
CMYKcmyk(38.7%, 78.1%, 0%, 46.3%)
CIE-LABlab(25.62, 45.37, -49.22)
CIE-LCHlch(25.62, 66.94, 312.67°)
OKLaboklab(37.93% 0.0869 -0.1405)
OKLCHoklch(37.93% 0.165 301.7)
XYZxyz(8.6347, 4.6195, 24.0988)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E89 #53891E
analogous
#1E1E89 #541E89 #891E89
triadic
#541E89 #89541E #1E8954
tetradic
#541E89 #891E1E #53891E #1E8989
square
#541E89 #891E1E #53891E #1E8989
split-complementary
#541E89 #89891E #1E891E
monochromatic
#160825 #351357 #541E89 #7329BB #914AD7

Accessibility & contrast

On white

10.91
#541E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#541E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E89
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E89#FFFFFF#000000##FFFFFF
##541E891.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#483A52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #541e89;
/* rgb */ color: rgb(84, 30, 137);
/* oklch */ color: oklch(37.9% 0.165 301.7);
Tailwind
colors: {
  custom: {
    50: '#8a60ac',
    500: '#541e89',
    950: '#000000',
  },
}
SCSS
$custom: #541e89;
$custom-light: #8a60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#541e89",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 270.28,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37932,
    "c": 0.16518,
    "h": 301.7
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#541E89
secondary
#81BA49
accent
#E74193
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541E89

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

Preview Lab → · Contrast checker → · Palette generator →

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