#541477#541477

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

Color values

HEX#541477
RGBrgb(84, 20, 119)
HSLhsl(279, 71%, 27%)
HSVhsv(279, 83%, 47%)
CMYKcmyk(29.4%, 83.2%, 0%, 53.3%)
CIE-LABlab(22.71, 45.04, -42.58)
CIE-LCHlch(22.71, 61.98, 316.61°)
OKLaboklab(35.42% 0.1004 -0.1209)
OKLCHoklch(35.42% 0.157 309.7)
XYZxyz(7.2354, 3.7172, 17.7855)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541477 #377714
analogous
#231477 #541477 #771469
triadic
#541477 #775414 #147754
tetradic
#541477 #772314 #377714 #146977
square
#541477 #772314 #377714 #146977
split-complementary
#541477 #697714 #147723
monochromatic
#12041A #2F0B43 #541477 #791DAB #9D2ADB

Accessibility & contrast

On white

12.05
#541477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541477
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541477#FFFFFF#000000##FFFFFF
##5414771.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541477;
/* rgb */ color: rgb(84, 20, 119);
/* oklch */ color: oklch(35.4% 0.157 309.7);
Tailwind
colors: {
  custom: {
    50: '#885b9f',
    500: '#541477',
    950: '#000000',
  },
}
SCSS
$custom: #541477;
$custom-light: #885b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#541477",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 278.788,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35419,
    "c": 0.15713,
    "h": 309.7
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#541477
secondary
#63AD3A
accent
#EE3A7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541477

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

Preview Lab → · Contrast checker → · Palette generator →

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