#541677#541677

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

Color values

HEX#541677
RGBrgb(84, 22, 119)
HSLhsl(278, 69%, 28%)
HSVhsv(278, 82%, 47%)
CMYKcmyk(29.4%, 81.5%, 0%, 53.3%)
CIE-LABlab(22.97, 44.30, -42.17)
CIE-LCHlch(22.97, 61.16, 316.41°)
OKLaboklab(35.6% 0.0987 -0.1197)
OKLCHoklch(35.6% 0.155 309.5)
XYZxyz(7.2722, 3.7907, 17.7978)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541677 #397716
analogous
#241677 #541677 #771669
triadic
#541677 #775416 #167754
tetradic
#541677 #772416 #397716 #166977
square
#541677 #772416 #397716 #166977
split-complementary
#541677 #697716 #167724
monochromatic
#12051A #300C43 #541677 #7820AB #9B2FD9

Accessibility & contrast

On white

11.94
#541677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541677
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541677#FFFFFF#000000##FFFFFF
##5416771.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541677;
/* rgb */ color: rgb(84, 22, 119);
/* oklch */ color: oklch(35.6% 0.155 309.5);
Tailwind
colors: {
  custom: {
    50: '#885b9f',
    500: '#541677',
    950: '#000000',
  },
}
SCSS
$custom: #541677;
$custom-light: #885b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#541677",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 278.351,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35597,
    "c": 0.15512,
    "h": 309.5
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#541677
secondary
#65AC3C
accent
#EC3C7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541677

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

Preview Lab → · Contrast checker → · Palette generator →

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