#541358#541358

#541358 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.129 H 325.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#541358
RGBrgb(84, 19, 88)
HSLhsl(297, 64%, 21%)
HSVhsv(297, 78%, 35%)
CMYKcmyk(4.5%, 78.4%, 0%, 65.5%)
CIE-LABlab(20.26, 38.83, -26.25)
CIE-LCHlch(20.26, 46.87, 325.94°)
OKLaboklab(32.95% 0.1061 -0.073)
OKLCHoklch(32.95% 0.129 325.5)
XYZxyz(5.6504, 3.0555, 9.5228)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541358 #175813
analogous
#311358 #541358 #581339
triadic
#541358 #585413 #135854
tetradic
#541358 #583113 #175813 #133958
square
#541358 #583113 #175813 #133958
split-complementary
#541358 #395813 #135831
monochromatic
#180519 #240826 #541358 #841E8A #B429BD

Accessibility & contrast

On white

13.04
#541358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541358
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541358#FFFFFF#000000##FFFFFF
##5413581.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012C5A
Deuteranopia (green-blind)
#223456
Tritanopia (blue-blind)
#561F34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #541358;
/* rgb */ color: rgb(84, 19, 88);
/* oklch */ color: oklch(33.0% 0.129 325.5);
Tailwind
colors: {
  custom: {
    50: '#875987',
    500: '#541358',
    950: '#000000',
  },
}
SCSS
$custom: #541358;
$custom-light: #875987;
$custom-dark: #000000;
JSON
{
  "hex": "#541358",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 296.522,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32954,
    "c": 0.12882,
    "h": 325.5
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#541358
secondary
#3C9037
accent
#E7404A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541358

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

Preview Lab → · Contrast checker → · Palette generator →

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