#541367#541367

#541367 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.143 H 317.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#541367
RGBrgb(84, 19, 103)
HSLhsl(286, 69%, 24%)
HSVhsv(286, 82%, 40%)
CMYKcmyk(18.4%, 81.6%, 0%, 59.6%)
CIE-LABlab(21.32, 41.88, -34.49)
CIE-LCHlch(21.32, 54.25, 320.53°)
OKLaboklab(34.04% 0.1046 -0.0971)
OKLCHoklch(34.04% 0.143 317.1)
XYZxyz(6.3368, 3.3301, 13.1383)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541367 #266713
analogous
#2A1367 #541367 #671350
triadic
#541367 #675413 #136754
tetradic
#541367 #672A13 #266713 #135067
square
#541367 #672A13 #266713 #135067
split-complementary
#541367 #506713 #13672A
monochromatic
#15051A #2A0933 #541367 #7E1D9B #A826CE

Accessibility & contrast

On white

12.61
#541367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541367
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541367#FFFFFF#000000##FFFFFF
##5413671.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#153565
Tritanopia (blue-blind)
#53263D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541367;
/* rgb */ color: rgb(84, 19, 103);
/* oklch */ color: oklch(34.0% 0.143 317.1);
Tailwind
colors: {
  custom: {
    50: '#875993',
    500: '#541367',
    950: '#000000',
  },
}
SCSS
$custom: #541367;
$custom-light: #875993;
$custom-dark: #000000;
JSON
{
  "hex": "#541367",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 286.429,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.14276,
    "h": 317.1
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#541367
secondary
#4F9E37
accent
#EC3C64
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541367

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

Preview Lab → · Contrast checker → · Palette generator →

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