#541C80#541C80

#541C80 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.158 H 305.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#541C80
RGBrgb(84, 28, 128)
HSLhsl(274, 64%, 31%)
HSVhsv(274, 78%, 50%)
CMYKcmyk(34.4%, 78.1%, 0%, 49.8%)
CIE-LABlab(24.56, 44.00, -45.30)
CIE-LCHlch(24.56, 63.16, 314.17°)
OKLaboklab(36.95% 0.091 -0.129)
OKLCHoklch(36.95% 0.158 305.2)
XYZxyz(7.9668, 4.2739, 20.8231)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C80 #48801C
analogous
#221C80 #541C80 #801C7A
triadic
#541C80 #80541C #1C8054
tetradic
#541C80 #80221C #48801C #1C7A80
square
#541C80 #80221C #48801C #1C7A80
split-complementary
#541C80 #7A801C #1C8022
monochromatic
#12061C #33114E #541C80 #7527B2 #9441D5

Accessibility & contrast

On white

11.32
#541C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C80
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C80#FFFFFF#000000##FFFFFF
##541C801.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#4C354D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541c80;
/* rgb */ color: rgb(84, 28, 128);
/* oklch */ color: oklch(36.9% 0.158 305.2);
Tailwind
colors: {
  custom: {
    50: '#895fa6',
    500: '#541c80',
    950: '#000000',
  },
}
SCSS
$custom: #541c80;
$custom-light: #895fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#541c80",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 273.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36946,
    "c": 0.15782,
    "h": 305.2
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#541C80
secondary
#75B344
accent
#E7418A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541C80

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

Preview Lab → · Contrast checker → · Palette generator →

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