#541C72#541C72

#541C72 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.143 H 310.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#541C72
RGBrgb(84, 28, 114)
HSLhsl(279, 61%, 28%)
HSVhsv(279, 75%, 45%)
CMYKcmyk(26.3%, 75.4%, 0%, 55.3%)
CIE-LABlab(23.44, 40.66, -38.20)
CIE-LCHlch(23.44, 55.78, 316.79°)
OKLaboklab(35.81% 0.0937 -0.1081)
OKLCHoklch(35.81% 0.143 310.9)
XYZxyz(7.1081, 3.9304, 16.3005)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C72 #3A721C
analogous
#291C72 #541C72 #721C65
triadic
#541C72 #72541C #1C7254
tetradic
#541C72 #72291C #3A721C #1C6572
square
#541C72 #72291C #3A721C #1C6572
split-complementary
#541C72 #65721C #1C7229
monochromatic
#120619 #301041 #541C72 #7828A3 #9B3ACF

Accessibility & contrast

On white

11.76
#541C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C72
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C72#FFFFFF#000000##FFFFFF
##541C721.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#0D3970
Tritanopia (blue-blind)
#502F45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541c72;
/* rgb */ color: rgb(84, 28, 114);
/* oklch */ color: oklch(35.8% 0.143 310.9);
Tailwind
colors: {
  custom: {
    50: '#885e9b',
    500: '#541c72',
    950: '#000000',
  },
}
SCSS
$custom: #541c72;
$custom-light: #885e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#541c72",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 279.07,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35806,
    "c": 0.14305,
    "h": 310.9
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#541C72
secondary
#66A643
accent
#E4447C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541C72

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

Preview Lab → · Contrast checker → · Palette generator →

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