#541E7A#541E7A

#541E7A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.149 H 307.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#541E7A
RGBrgb(84, 30, 122)
HSLhsl(275, 61%, 30%)
HSVhsv(275, 75%, 48%)
CMYKcmyk(31.1%, 75.4%, 0%, 52.2%)
CIE-LABlab(24.38, 41.66, -41.79)
CIE-LCHlch(24.38, 59.00, 314.91°)
OKLaboklab(36.67% 0.0902 -0.1186)
OKLCHoklch(36.67% 0.149 307.3)
XYZxyz(7.6325, 4.2186, 18.8208)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E7A #447A1E
analogous
#261E7A #541E7A #7A1E72
triadic
#541E7A #7A541E #1E7A54
tetradic
#541E7A #7A261E #447A1E #1E727A
square
#541E7A #7A261E #447A1E #1E727A
split-complementary
#541E7A #727A1E #1E7A26
monochromatic
#110619 #321249 #541E7A #762AAB #9642D0

Accessibility & contrast

On white

11.39
#541E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#541E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E7A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E7A#FFFFFF#000000##FFFFFF
##541E7A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#4E344A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541e7a;
/* rgb */ color: rgb(84, 30, 122);
/* oklch */ color: oklch(36.7% 0.149 307.3);
Tailwind
colors: {
  custom: {
    50: '#885fa1',
    500: '#541e7a',
    950: '#000000',
  },
}
SCSS
$custom: #541e7a;
$custom-light: #885fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#541e7a",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 275.217,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36669,
    "c": 0.14905,
    "h": 307.3
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#541E7A
secondary
#71AE46
accent
#E44486
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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