#541D7F#541D7F

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

Color values

HEX#541D7F
RGBrgb(84, 29, 127)
HSLhsl(274, 63%, 31%)
HSVhsv(274, 77%, 50%)
CMYKcmyk(33.9%, 77.2%, 0%, 50.2%)
CIE-LABlab(24.63, 43.33, -44.56)
CIE-LCHlch(24.63, 62.15, 314.20°)
OKLaboklab(36.97% 0.0902 -0.1268)
OKLCHoklch(36.97% 0.156 305.4)
XYZxyz(7.9254, 4.2959, 20.4862)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D7F #487F1D
analogous
#231D7F #541D7F #7F1D79
triadic
#541D7F #7F541D #1D7F54
tetradic
#541D7F #7F231D #487F1D #1D797F
square
#541D7F #7F231D #487F1D #1D797F
split-complementary
#541D7F #797F1D #1D7F23
monochromatic
#12061B #33124D #541D7F #7528B1 #9442D4

Accessibility & contrast

On white

11.30
#541D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541D7F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D7F#FFFFFF#000000##FFFFFF
##541D7F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#4C354D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541d7f;
/* rgb */ color: rgb(84, 29, 127);
/* oklch */ color: oklch(37.0% 0.156 305.4);
Tailwind
colors: {
  custom: {
    50: '#895fa5',
    500: '#541d7f',
    950: '#000000',
  },
}
SCSS
$custom: #541d7f;
$custom-light: #895fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#541d7f",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 273.673,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36969,
    "c": 0.15562,
    "h": 305.4
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#541D7F
secondary
#75B245
accent
#E6428A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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