#541377#541377

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

Color values

HEX#541377
RGBrgb(84, 19, 119)
HSLhsl(279, 72%, 27%)
HSVhsv(279, 84%, 47%)
CMYKcmyk(29.4%, 84%, 0%, 53.3%)
CIE-LABlab(22.59, 45.39, -42.78)
CIE-LCHlch(22.59, 62.37, 316.70°)
OKLaboklab(35.34% 0.1012 -0.1215)
OKLCHoklch(35.34% 0.158 309.8)
XYZxyz(7.2181, 3.6826, 17.7798)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541377 #367713
analogous
#221377 #541377 #771368
triadic
#541377 #775413 #137754
tetradic
#541377 #772213 #367713 #136877
square
#541377 #772213 #367713 #136877
split-complementary
#541377 #687713 #137722
monochromatic
#13041A #2F0B42 #541377 #791BAC #9D28DD

Accessibility & contrast

On white

12.09
#541377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541377
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541377#FFFFFF#000000##FFFFFF
##5413771.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#4F2D46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541377;
/* rgb */ color: rgb(84, 19, 119);
/* oklch */ color: oklch(35.3% 0.158 309.8);
Tailwind
colors: {
  custom: {
    50: '#895a9f',
    500: '#541377',
    950: '#000000',
  },
}
SCSS
$custom: #541377;
$custom-light: #895a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#541377",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 119
  },
  "hsl": {
    "h": 279,
    "s": 72.464,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35335,
    "c": 0.1581,
    "h": 309.8
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#541377
secondary
#61AD39
accent
#EF3979
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541377

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

Preview Lab → · Contrast checker → · Palette generator →

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