#541476#541476

#541476 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.156 H 310.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#541476
RGBrgb(84, 20, 118)
HSLhsl(279, 71%, 27%)
HSVhsv(279, 83%, 46%)
CMYKcmyk(28.8%, 83.1%, 0%, 53.7%)
CIE-LABlab(22.63, 44.81, -42.08)
CIE-LCHlch(22.63, 61.47, 316.80°)
OKLaboklab(35.34% 0.1006 -0.1194)
OKLCHoklch(35.34% 0.156 310.1)
XYZxyz(7.1757, 3.6933, 17.4709)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541476 #367614
analogous
#231476 #541476 #761467
triadic
#541476 #765414 #147654
tetradic
#541476 #762314 #367614 #146776
square
#541476 #762314 #367614 #146776
split-complementary
#541476 #677614 #147623
monochromatic
#13041A #2F0B42 #541476 #791DAA #9D2ADB

Accessibility & contrast

On white

12.08
#541476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#541476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541476
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541476#FFFFFF#000000##FFFFFF
##5414761.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#4F2D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541476;
/* rgb */ color: rgb(84, 20, 118);
/* oklch */ color: oklch(35.3% 0.156 310.1);
Tailwind
colors: {
  custom: {
    50: '#885b9e',
    500: '#541476',
    950: '#000000',
  },
}
SCSS
$custom: #541476;
$custom-light: #885b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#541476",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 279.184,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35335,
    "c": 0.15616,
    "h": 310.1
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#541476
secondary
#61AC3A
accent
#EE3A78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541476

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

Preview Lab → · Contrast checker → · Palette generator →

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