#541176#541176

#541176 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.159 H 310.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#541176
RGBrgb(84, 17, 118)
HSLhsl(280, 75%, 26%)
HSVhsv(280, 86%, 46%)
CMYKcmyk(28.8%, 85.6%, 0%, 53.7%)
CIE-LABlab(22.28, 45.83, -42.64)
CIE-LCHlch(22.28, 62.60, 317.06°)
OKLaboklab(35.09% 0.103 -0.1211)
OKLCHoklch(35.09% 0.159 310.4)
XYZxyz(7.1260, 3.5939, 17.4543)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541176 #337611
analogous
#221176 #541176 #761166
triadic
#541176 #765411 #117654
tetradic
#541176 #762211 #337611 #116676
square
#541176 #762211 #337611 #116676
split-complementary
#541176 #667611 #117622
monochromatic
#13041B #2E0941 #541176 #7A19AB #A022DF

Accessibility & contrast

On white

12.22
#541176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#541176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541176
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541176#FFFFFF#000000##FFFFFF
##5411761.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541176;
/* rgb */ color: rgb(84, 17, 118);
/* oklch */ color: oklch(35.1% 0.159 310.4);
Tailwind
colors: {
  custom: {
    50: '#89599e',
    500: '#541176',
    950: '#000000',
  },
}
SCSS
$custom: #541176;
$custom-light: #89599e;
$custom-dark: #000000;
JSON
{
  "hex": "#541176",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 279.802,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35091,
    "c": 0.15896,
    "h": 310.4
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#541176
secondary
#5EAD36
accent
#F13675
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541176

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

Preview Lab → · Contrast checker → · Palette generator →

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