#541376#541376

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

Color values

HEX#541376
RGBrgb(84, 19, 118)
HSLhsl(279, 72%, 27%)
HSVhsv(279, 84%, 46%)
CMYKcmyk(28.8%, 83.9%, 0%, 53.7%)
CIE-LABlab(22.51, 45.16, -42.27)
CIE-LCHlch(22.51, 61.86, 316.89°)
OKLaboklab(35.25% 0.1015 -0.12)
OKLCHoklch(35.25% 0.157 310.2)
XYZxyz(7.1584, 3.6587, 17.4651)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541376 #357613
analogous
#231376 #541376 #761367
triadic
#541376 #765413 #137654
tetradic
#541376 #762313 #357613 #136776
square
#541376 #762313 #357613 #136776
split-complementary
#541376 #677613 #137623
monochromatic
#13041A #2E0B41 #541376 #7A1BAB #9E27DC

Accessibility & contrast

On white

12.13
#541376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#541376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541376
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541376#FFFFFF#000000##FFFFFF
##5413761.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.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: #541376;
/* rgb */ color: rgb(84, 19, 118);
/* oklch */ color: oklch(35.3% 0.157 310.2);
Tailwind
colors: {
  custom: {
    50: '#885a9e',
    500: '#541376',
    950: '#000000',
  },
}
SCSS
$custom: #541376;
$custom-light: #885a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#541376",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 279.394,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3525,
    "c": 0.15712,
    "h": 310.2
  },
  "luminance": 0.03659
}

Semantic roles & 50–950 ramp

primary
#541376
secondary
#60AC39
accent
#EF3977
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541376

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

Preview Lab → · Contrast checker → · Palette generator →

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