#541671#541671

#541671 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.149 H 312.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#541671
RGBrgb(84, 22, 113)
HSLhsl(281, 67%, 26%)
HSVhsv(281, 81%, 44%)
CMYKcmyk(25.7%, 80.5%, 0%, 55.7%)
CIE-LABlab(22.48, 42.94, -39.10)
CIE-LCHlch(22.48, 58.08, 317.68°)
OKLaboklab(35.1% 0.1 -0.1107)
OKLCHoklch(35.1% 0.149 312.1)
XYZxyz(6.9232, 3.6511, 15.9596)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541671 #337116
analogous
#271671 #541671 #711661
triadic
#541671 #715416 #167154
tetradic
#541671 #712716 #337116 #166171
square
#541671 #712716 #337116 #166171
split-complementary
#541671 #617116 #167127
monochromatic
#13051A #2E0C3E #541671 #7A20A4 #A02CD6

Accessibility & contrast

On white

12.14
#541671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541671
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541671#FFFFFF#000000##FFFFFF
##5416711.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#06376F
Tritanopia (blue-blind)
#502C43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541671;
/* rgb */ color: rgb(84, 22, 113);
/* oklch */ color: oklch(35.1% 0.149 312.1);
Tailwind
colors: {
  custom: {
    50: '#885b9a',
    500: '#541671',
    950: '#000000',
  },
}
SCSS
$custom: #541671;
$custom-light: #885b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541671",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 280.879,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35104,
    "c": 0.14917,
    "h": 312.1
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#541671
secondary
#5EA73C
accent
#EA3E75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541671

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

Preview Lab → · Contrast checker → · Palette generator →

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