#541967#541967

#541967 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.136 H 316.6°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#541967
RGBrgb(84, 25, 103)
HSLhsl(285, 61%, 25%)
HSVhsv(285, 76%, 40%)
CMYKcmyk(18.4%, 75.7%, 0%, 59.6%)
CIE-LABlab(22.16, 39.48, -33.14)
CIE-LCHlch(22.16, 51.55, 320.00°)
OKLaboklab(34.64% 0.0985 -0.0932)
OKLCHoklch(34.64% 0.136 316.6)
XYZxyz(6.4516, 3.5596, 13.1766)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541967 #2C6719
analogous
#2D1967 #541967 #671953
triadic
#541967 #675419 #196754
tetradic
#541967 #672D19 #2C6719 #195367
square
#541967 #672D19 #2C6719 #195367
split-complementary
#541967 #536719 #19672D
monochromatic
#140619 #2C0D36 #541967 #7C2598 #A431C9

Accessibility & contrast

On white

12.27
#541967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#541967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541967
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541967#FFFFFF#000000##FFFFFF
##5419671.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#193765
Tritanopia (blue-blind)
#53293E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541967;
/* rgb */ color: rgb(84, 25, 103);
/* oklch */ color: oklch(34.6% 0.136 316.6);
Tailwind
colors: {
  custom: {
    50: '#875c93',
    500: '#541967',
    950: '#000000',
  },
}
SCSS
$custom: #541967;
$custom-light: #875c93;
$custom-dark: #000000;
JSON
{
  "hex": "#541967",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 285.385,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34636,
    "c": 0.13559,
    "h": 316.6
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#541967
secondary
#569D3F
accent
#E4446B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541967

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

Preview Lab → · Contrast checker → · Palette generator →

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