#541C73#541C73

#541C73 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.144 H 310.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#541C73
RGBrgb(84, 28, 115)
HSLhsl(279, 61%, 28%)
HSVhsv(279, 76%, 45%)
CMYKcmyk(27%, 75.7%, 0%, 54.9%)
CIE-LABlab(23.52, 40.89, -38.72)
CIE-LCHlch(23.52, 56.31, 316.57°)
OKLaboklab(35.88% 0.0936 -0.1096)
OKLCHoklch(35.88% 0.144 310.5)
XYZxyz(7.1653, 3.9533, 16.6019)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C73 #3B731C
analogous
#291C73 #541C73 #731C66
triadic
#541C73 #73541C #1C7354
tetradic
#541C73 #73291C #3B731C #1C6673
square
#541C73 #73291C #3B731C #1C6673
split-complementary
#541C73 #66731C #1C7329
monochromatic
#120619 #301042 #541C73 #7828A4 #9A3ACF

Accessibility & contrast

On white

11.73
#541C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C73
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C73#FFFFFF#000000##FFFFFF
##541C731.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#0B3971
Tritanopia (blue-blind)
#503046
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541c73;
/* rgb */ color: rgb(84, 28, 115);
/* oklch */ color: oklch(35.9% 0.144 310.5);
Tailwind
colors: {
  custom: {
    50: '#885e9c',
    500: '#541c73',
    950: '#000000',
  },
}
SCSS
$custom: #541c73;
$custom-light: #885e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541c73",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 278.621,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35884,
    "c": 0.14412,
    "h": 310.5
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#541C73
secondary
#67A743
accent
#E4447D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541C73

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

Preview Lab → · Contrast checker → · Palette generator →

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