#541076#541076

#541076 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.160 H 310.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#541076
RGBrgb(84, 16, 118)
HSLhsl(280, 76%, 26%)
HSVhsv(280, 86%, 46%)
CMYKcmyk(28.8%, 86.4%, 0%, 53.7%)
CIE-LABlab(22.17, 46.15, -42.82)
CIE-LCHlch(22.17, 62.95, 317.14°)
OKLaboklab(35.02% 0.1038 -0.1216)
OKLCHoklch(35.02% 0.16 310.5)
XYZxyz(7.1108, 3.5636, 17.4493)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541076 #327610
analogous
#211076 #541076 #761065
triadic
#541076 #765410 #107654
tetradic
#541076 #762110 #327610 #106576
square
#541076 #762110 #327610 #106576
split-complementary
#541076 #657610 #107621
monochromatic
#13041B #2E0940 #541076 #7A17AC #A020E1

Accessibility & contrast

On white

12.26
#541076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#541076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541076
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541076#FFFFFF#000000##FFFFFF
##5410761.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#4F2B45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541076;
/* rgb */ color: rgb(84, 16, 118);
/* oklch */ color: oklch(35.0% 0.160 310.5);
Tailwind
colors: {
  custom: {
    50: '#89599e',
    500: '#541076',
    950: '#000000',
  },
}
SCSS
$custom: #541076;
$custom-light: #89599e;
$custom-dark: #000000;
JSON
{
  "hex": "#541076",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 280,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35016,
    "c": 0.15983,
    "h": 310.5
  },
  "luminance": 0.03563
}

Semantic roles & 50–950 ramp

primary
#541076
secondary
#5DAD35
accent
#F33574
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541076

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

Preview Lab → · Contrast checker → · Palette generator →

#541076 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva