#541167#541167

#541167 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.145 H 317.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#541167
RGBrgb(84, 17, 103)
HSLhsl(287, 72%, 24%)
HSVhsv(287, 83%, 40%)
CMYKcmyk(18.4%, 83.5%, 0%, 59.6%)
CIE-LABlab(21.08, 42.58, -34.88)
CIE-LCHlch(21.08, 55.05, 320.68°)
OKLaboklab(33.87% 0.1064 -0.0982)
OKLCHoklch(33.87% 0.145 317.3)
XYZxyz(6.3044, 3.2653, 13.1275)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541167 #246711
analogous
#291167 #541167 #67114F
triadic
#541167 #675411 #116754
tetradic
#541167 #672911 #246711 #114F67
square
#541167 #672911 #246711 #114F67
split-complementary
#541167 #4F6711 #116729
monochromatic
#15041A #290832 #541167 #7F1A9C #AA22D0

Accessibility & contrast

On white

12.70
#541167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#541167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541167
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541167#FFFFFF#000000##FFFFFF
##5411671.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#133565
Tritanopia (blue-blind)
#53253C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541167;
/* rgb */ color: rgb(84, 17, 103);
/* oklch */ color: oklch(33.9% 0.145 317.3);
Tailwind
colors: {
  custom: {
    50: '#885993',
    500: '#541167',
    950: '#000000',
  },
}
SCSS
$custom: #541167;
$custom-light: #885993;
$custom-dark: #000000;
JSON
{
  "hex": "#541167",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 286.744,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.14485,
    "h": 317.3
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#541167
secondary
#4C9F35
accent
#EE3961
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541167

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

Preview Lab → · Contrast checker → · Palette generator →

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