#541E7E#541E7E

#541E7E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.153 H 305.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#541E7E
RGBrgb(84, 30, 126)
HSLhsl(274, 62%, 31%)
HSVhsv(274, 76%, 49%)
CMYKcmyk(33.3%, 76.2%, 0%, 50.6%)
CIE-LABlab(24.70, 42.63, -43.80)
CIE-LCHlch(24.70, 61.13, 314.22°)
OKLaboklab(37% 0.0895 -0.1246)
OKLCHoklch(37% 0.153 305.7)
XYZxyz(7.8855, 4.3198, 20.1530)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E7E #487E1E
analogous
#241E7E #541E7E #7E1E78
triadic
#541E7E #7E541E #1E7E54
tetradic
#541E7E #7E241E #487E1E #1E787E
square
#541E7E #7E241E #487E1E #1E787E
split-complementary
#541E7E #787E1E #1E7E24
monochromatic
#12061B #33124D #541E7E #752AAF #9444D2

Accessibility & contrast

On white

11.27
#541E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#541E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E7E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E7E#FFFFFF#000000##FFFFFF
##541E7E1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#4C354C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541e7e;
/* rgb */ color: rgb(84, 30, 126);
/* oklch */ color: oklch(37.0% 0.153 305.7);
Tailwind
colors: {
  custom: {
    50: '#8860a4',
    500: '#541e7e',
    950: '#000000',
  },
}
SCSS
$custom: #541e7e;
$custom-light: #8860a4;
$custom-dark: #000000;
JSON
{
  "hex": "#541e7e",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 273.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36997,
    "c": 0.15336,
    "h": 305.7
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#541E7E
secondary
#75B147
accent
#E5438A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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