#541368#541368

#541368 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.144 H 316.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#541368
RGBrgb(84, 19, 104)
HSLhsl(286, 69%, 24%)
HSVhsv(286, 82%, 41%)
CMYKcmyk(19.2%, 81.7%, 0%, 59.2%)
CIE-LABlab(21.40, 42.09, -35.02)
CIE-LCHlch(21.40, 54.75, 320.24°)
OKLaboklab(34.12% 0.1045 -0.0987)
OKLCHoklch(34.12% 0.144 316.6)
XYZxyz(6.3873, 3.3503, 13.4042)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541368 #276813
analogous
#2A1368 #541368 #681352
triadic
#541368 #685413 #136854
tetradic
#541368 #682A13 #276813 #135268
square
#541368 #682A13 #276813 #135268
split-complementary
#541368 #526813 #13682A
monochromatic
#15051A #2A0A34 #541368 #7E1C9C #A826CF

Accessibility & contrast

On white

12.57
#541368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#541368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541368
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541368#FFFFFF#000000##FFFFFF
##5413681.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#133566
Tritanopia (blue-blind)
#53263D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541368;
/* rgb */ color: rgb(84, 19, 104);
/* oklch */ color: oklch(34.1% 0.144 316.6);
Tailwind
colors: {
  custom: {
    50: '#875994',
    500: '#541368',
    950: '#000000',
  },
}
SCSS
$custom: #541368;
$custom-light: #875994;
$custom-dark: #000000;
JSON
{
  "hex": "#541368",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 285.882,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34118,
    "c": 0.1437,
    "h": 316.6
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#541368
secondary
#509F37
accent
#EC3C65
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541368

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

Preview Lab → · Contrast checker → · Palette generator →

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