#541468#541468

#541468 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.143 H 316.5°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#541468
RGBrgb(84, 20, 104)
HSLhsl(286, 68%, 24%)
HSVhsv(286, 81%, 41%)
CMYKcmyk(19.2%, 80.8%, 0%, 59.2%)
CIE-LABlab(21.52, 41.72, -34.81)
CIE-LCHlch(21.52, 54.34, 320.16°)
OKLaboklab(34.21% 0.1035 -0.0981)
OKLCHoklch(34.21% 0.143 316.5)
XYZxyz(6.4046, 3.3849, 13.4100)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541468 #286814
analogous
#2A1468 #541468 #681452
triadic
#541468 #685414 #146854
tetradic
#541468 #682A14 #286814 #145268
square
#541468 #682A14 #286814 #145268
split-complementary
#541468 #526814 #14682A
monochromatic
#15051A #2B0A35 #541468 #7D1E9B #A728CF

Accessibility & contrast

On white

12.52
#541468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#541468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541468
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541468#FFFFFF#000000##FFFFFF
##5414681.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#143566
Tritanopia (blue-blind)
#53273D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #541468;
/* rgb */ color: rgb(84, 20, 104);
/* oklch */ color: oklch(34.2% 0.143 316.5);
Tailwind
colors: {
  custom: {
    50: '#875a94',
    500: '#541468',
    950: '#000000',
  },
}
SCSS
$custom: #541468;
$custom-light: #875a94;
$custom-dark: #000000;
JSON
{
  "hex": "#541468",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 285.714,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34208,
    "c": 0.14261,
    "h": 316.5
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#541468
secondary
#519F39
accent
#EB3D66
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541468

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

Preview Lab → · Contrast checker → · Palette generator →

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