#541D7C#541D7C

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

Color values

HEX#541D7C
RGBrgb(84, 29, 124)
HSLhsl(275, 62%, 30%)
HSVhsv(275, 77%, 49%)
CMYKcmyk(32.3%, 76.6%, 0%, 51.4%)
CIE-LABlab(24.38, 42.59, -43.05)
CIE-LCHlch(24.38, 60.56, 314.69°)
OKLaboklab(36.72% 0.0909 -0.1224)
OKLCHoklch(36.72% 0.152 306.6)
XYZxyz(7.7328, 4.2189, 19.4718)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D7C #457C1D
analogous
#241D7C #541D7C #7C1D75
triadic
#541D7C #7C541D #1D7C54
tetradic
#541D7C #7C241D #457C1D #1D757C
square
#541D7C #7C241D #457C1D #1D757C
split-complementary
#541D7C #757C1D #1D7C24
monochromatic
#110619 #32114A #541D7C #7629AE #9541D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541D7C#FFFFFF#000000##FFFFFF
##541D7C1.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)
#00387F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#4D344B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541d7c;
/* rgb */ color: rgb(84, 29, 124);
/* oklch */ color: oklch(36.7% 0.152 306.6);
Tailwind
colors: {
  custom: {
    50: '#885fa3',
    500: '#541d7c',
    950: '#000000',
  },
}
SCSS
$custom: #541d7c;
$custom-light: #885fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#541d7c",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 274.737,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.15242,
    "h": 306.6
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#541D7C
secondary
#72B045
accent
#E54387
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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