#541058#541058

#541058 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.132 H 325.6°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#541058
RGBrgb(84, 16, 88)
HSLhsl(297, 69%, 20%)
HSVhsv(297, 82%, 35%)
CMYKcmyk(4.5%, 81.8%, 0%, 65.5%)
CIE-LABlab(19.88, 39.92, -26.86)
CIE-LCHlch(19.88, 48.11, 326.07°)
OKLaboklab(32.68% 0.1092 -0.0748)
OKLCHoklch(32.68% 0.132 325.6)
XYZxyz(5.6028, 2.9604, 9.5069)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541058 #145810
analogous
#301058 #541058 #581038
triadic
#541058 #585410 #105854
tetradic
#541058 #583010 #145810 #103858
square
#541058 #583010 #145810 #103858
split-complementary
#541058 #385810 #105830
monochromatic
#19051A #230724 #541058 #85198C #B723C0

Accessibility & contrast

On white

13.19
#541058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#541058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541058
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541058#FFFFFF#000000##FFFFFF
##5410581.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#203356
Tritanopia (blue-blind)
#561D33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541058;
/* rgb */ color: rgb(84, 16, 88);
/* oklch */ color: oklch(32.7% 0.132 325.6);
Tailwind
colors: {
  custom: {
    50: '#875787',
    500: '#541058',
    950: '#000000',
  },
}
SCSS
$custom: #541058;
$custom-light: #875787;
$custom-dark: #000000;
JSON
{
  "hex": "#541058",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 296.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32683,
    "c": 0.1323,
    "h": 325.6
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#541058
secondary
#389132
accent
#EC3C46
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541058

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

Preview Lab → · Contrast checker → · Palette generator →

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