#541D7D#541D7D

#541D7D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.153 H 306.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#541D7D
RGBrgb(84, 29, 125)
HSLhsl(274, 62%, 30%)
HSVhsv(274, 77%, 49%)
CMYKcmyk(32.8%, 76.8%, 0%, 51%)
CIE-LABlab(24.46, 42.84, -43.56)
CIE-LCHlch(24.46, 61.09, 314.52°)
OKLaboklab(36.8% 0.0907 -0.1238)
OKLCHoklch(36.8% 0.153 306.2)
XYZxyz(7.7964, 4.2443, 19.8066)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D7D #467D1D
analogous
#241D7D #541D7D #7D1D76
triadic
#541D7D #7D541D #1D7D54
tetradic
#541D7D #7D241D #467D1D #1D767D
square
#541D7D #7D241D #467D1D #1D767D
split-complementary
#541D7D #767D1D #1D7D24
monochromatic
#11061A #33114B #541D7D #7529AF #9541D3

Accessibility & contrast

On white

11.36
#541D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#541D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D7D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D7D#FFFFFF#000000##FFFFFF
##541D7D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#4D344B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541d7d;
/* rgb */ color: rgb(84, 29, 125);
/* oklch */ color: oklch(36.8% 0.153 306.2);
Tailwind
colors: {
  custom: {
    50: '#885fa3',
    500: '#541d7d',
    950: '#000000',
  },
}
SCSS
$custom: #541d7d;
$custom-light: #885fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#541d7d",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 274.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36803,
    "c": 0.15348,
    "h": 306.2
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#541D7D
secondary
#73B145
accent
#E54288
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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