#541C74#541C74

#541C74 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.145 H 310.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#541C74
RGBrgb(84, 28, 116)
HSLhsl(278, 61%, 28%)
HSVhsv(278, 76%, 45%)
CMYKcmyk(27.6%, 75.9%, 0%, 54.5%)
CIE-LABlab(23.59, 41.13, -39.23)
CIE-LCHlch(23.59, 56.84, 316.35°)
OKLaboklab(35.96% 0.0934 -0.1111)
OKLCHoklch(35.96% 0.145 310.1)
XYZxyz(7.2232, 3.9764, 16.9066)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C74 #3C741C
analogous
#281C74 #541C74 #741C68
triadic
#541C74 #74541C #1C7454
tetradic
#541C74 #74281C #3C741C #1C6874
square
#541C74 #74281C #3C741C #1C6874
split-complementary
#541C74 #68741C #1C7428
monochromatic
#120619 #301043 #541C74 #7828A5 #993BD0

Accessibility & contrast

On white

11.70
#541C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#541C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C74
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C74#FFFFFF#000000##FFFFFF
##541C741.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#093972
Tritanopia (blue-blind)
#4F3046
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541c74;
/* rgb */ color: rgb(84, 28, 116);
/* oklch */ color: oklch(36.0% 0.145 310.1);
Tailwind
colors: {
  custom: {
    50: '#885e9d',
    500: '#541c74',
    950: '#000000',
  },
}
SCSS
$custom: #541c74;
$custom-light: #885e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541c74",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 278.182,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35963,
    "c": 0.14517,
    "h": 310.1
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#541C74
secondary
#68A843
accent
#E4447E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541C74

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

Preview Lab → · Contrast checker → · Palette generator →

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