#541259#541259

#541259 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.131 H 324.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#541259
RGBrgb(84, 18, 89)
HSLhsl(296, 66%, 21%)
HSVhsv(296, 80%, 35%)
CMYKcmyk(5.6%, 79.8%, 0%, 65.1%)
CIE-LABlab(20.20, 39.40, -27.02)
CIE-LCHlch(20.20, 47.77, 325.55°)
OKLaboklab(32.93% 0.1071 -0.0753)
OKLCHoklch(32.93% 0.131 324.9)
XYZxyz(5.6755, 3.0391, 9.7369)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541259 #175912
analogous
#301259 #541259 #59123A
triadic
#541259 #595412 #125954
tetradic
#541259 #593012 #175912 #123A59
square
#541259 #593012 #175912 #123A59
split-complementary
#541259 #3A5912 #125930
monochromatic
#180519 #240826 #541259 #841C8C #B427BF

Accessibility & contrast

On white

13.06
#541259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#541259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541259
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541259#FFFFFF#000000##FFFFFF
##5412591.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#213357
Tritanopia (blue-blind)
#561F34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541259;
/* rgb */ color: rgb(84, 18, 89);
/* oklch */ color: oklch(32.9% 0.131 324.9);
Tailwind
colors: {
  custom: {
    50: '#875888',
    500: '#541259',
    950: '#000000',
  },
}
SCSS
$custom: #541259;
$custom-light: #875888;
$custom-dark: #000000;
JSON
{
  "hex": "#541259",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 295.775,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32929,
    "c": 0.13092,
    "h": 324.9
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#541259
secondary
#3C9235
accent
#E93F4B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541259

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

Preview Lab → · Contrast checker → · Palette generator →

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