#541D71#541D71

#541D71 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.141 H 311.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#541D71
RGBrgb(84, 29, 113)
HSLhsl(279, 59%, 28%)
HSVhsv(279, 74%, 44%)
CMYKcmyk(25.7%, 74.3%, 0%, 55.7%)
CIE-LABlab(23.53, 39.97, -37.42)
CIE-LCHlch(23.53, 54.75, 316.89°)
OKLaboklab(35.84% 0.0928 -0.1058)
OKLCHoklch(35.84% 0.141 311.3)
XYZxyz(7.0756, 3.9560, 16.0104)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D71 #3A711D
analogous
#2A1D71 #541D71 #711D64
triadic
#541D71 #71541D #1D7154
tetradic
#541D71 #712A1D #3A711D #1D6471
square
#541D71 #712A1D #3A711D #1D6471
split-complementary
#541D71 #64711D #1D712A
monochromatic
#120618 #301140 #541D71 #7829A2 #9B3CCD

Accessibility & contrast

On white

11.72
#541D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#541D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D71
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D71#FFFFFF#000000##FFFFFF
##541D711.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#11396F
Tritanopia (blue-blind)
#502F45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541d71;
/* rgb */ color: rgb(84, 29, 113);
/* oklch */ color: oklch(35.8% 0.141 311.3);
Tailwind
colors: {
  custom: {
    50: '#875e9a',
    500: '#541d71',
    950: '#000000',
  },
}
SCSS
$custom: #541d71;
$custom-light: #875e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541d71",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 279.286,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35842,
    "c": 0.14071,
    "h": 311.3
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#541D71
secondary
#66A544
accent
#E2457C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541D71

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

Preview Lab → · Contrast checker → · Palette generator →

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