#541776#541776

#541776 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.153 H 309.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#541776
RGBrgb(84, 23, 118)
HSLhsl(279, 67%, 28%)
HSVhsv(279, 81%, 46%)
CMYKcmyk(28.8%, 80.5%, 0%, 53.7%)
CIE-LABlab(23.02, 43.69, -41.44)
CIE-LCHlch(23.02, 60.22, 316.51°)
OKLaboklab(35.61% 0.098 -0.1176)
OKLCHoklch(35.61% 0.153 309.8)
XYZxyz(7.2319, 3.8058, 17.4896)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541776 #397617
analogous
#241776 #541776 #761769
triadic
#541776 #765417 #177654
tetradic
#541776 #762417 #397617 #176976
square
#541776 #762417 #397617 #176976
split-complementary
#541776 #697617 #177624
monochromatic
#12051A #300D43 #541776 #7821A9 #9B31D7

Accessibility & contrast

On white

11.92
#541776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#541776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541776
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541776#FFFFFF#000000##FFFFFF
##5417761.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#4F2E46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541776;
/* rgb */ color: rgb(84, 23, 118);
/* oklch */ color: oklch(35.6% 0.153 309.8);
Tailwind
colors: {
  custom: {
    50: '#885c9e',
    500: '#541776',
    950: '#000000',
  },
}
SCSS
$custom: #541776;
$custom-light: #885c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#541776",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 278.526,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35607,
    "c": 0.15306,
    "h": 309.8
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#541776
secondary
#65AB3E
accent
#EA3E7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541776

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

Preview Lab → · Contrast checker → · Palette generator →

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