#541576#541576

#541576 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.155 H 310.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#541576
RGBrgb(84, 21, 118)
HSLhsl(279, 70%, 27%)
HSVhsv(279, 82%, 46%)
CMYKcmyk(28.8%, 82.2%, 0%, 53.7%)
CIE-LABlab(22.76, 44.45, -41.87)
CIE-LCHlch(22.76, 61.07, 316.71°)
OKLaboklab(35.42% 0.0998 -0.1188)
OKLCHoklch(35.42% 0.155 310)
XYZxyz(7.1937, 3.7293, 17.4769)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541576 #377615
analogous
#241576 #541576 #761568
triadic
#541576 #765415 #157654
tetradic
#541576 #762415 #377615 #156876
square
#541576 #762415 #377615 #156876
split-complementary
#541576 #687615 #157624
monochromatic
#12051A #2F0C42 #541576 #791EAA #9D2CD9

Accessibility & contrast

On white

12.03
#541576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#541576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541576
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541576#FFFFFF#000000##FFFFFF
##5415761.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541576;
/* rgb */ color: rgb(84, 21, 118);
/* oklch */ color: oklch(35.4% 0.155 310.0);
Tailwind
colors: {
  custom: {
    50: '#885b9e',
    500: '#541576',
    950: '#000000',
  },
}
SCSS
$custom: #541576;
$custom-light: #885b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#541576",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 278.969,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35423,
    "c": 0.15515,
    "h": 310
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#541576
secondary
#63AC3B
accent
#ED3B79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541576

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

Preview Lab → · Contrast checker → · Palette generator →

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