#541869#541869

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

Color values

HEX#541869
RGBrgb(84, 24, 105)
HSLhsl(284, 63%, 25%)
HSVhsv(284, 77%, 41%)
CMYKcmyk(20%, 77.1%, 0%, 58.8%)
CIE-LABlab(22.15, 40.35, -34.45)
CIE-LCHlch(22.15, 53.05, 319.51°)
OKLaboklab(34.68% 0.0993 -0.097)
OKLCHoklch(34.68% 0.139 315.7)
XYZxyz(6.5322, 3.5583, 13.7046)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541869 #2D6918
analogous
#2B1869 #541869 #691856
triadic
#541869 #695418 #186954
tetradic
#541869 #692B18 #2D6918 #185669
square
#541869 #692B18 #2D6918 #185669
split-complementary
#541869 #566918 #18692B
monochromatic
#140619 #2C0D37 #541869 #7C239B #A42FCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541869#FFFFFF#000000##FFFFFF
##5418691.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)
#00326B
Deuteranopia (green-blind)
#163767
Tritanopia (blue-blind)
#52293F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541869;
/* rgb */ color: rgb(84, 24, 105);
/* oklch */ color: oklch(34.7% 0.139 315.7);
Tailwind
colors: {
  custom: {
    50: '#875c94',
    500: '#541869',
    950: '#000000',
  },
}
SCSS
$custom: #541869;
$custom-light: #875c94;
$custom-dark: #000000;
JSON
{
  "hex": "#541869",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 284.444,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34678,
    "c": 0.13887,
    "h": 315.7
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#541869
secondary
#579F3E
accent
#E6426C
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541869

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

Preview Lab → · Contrast checker → · Palette generator →

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