#541255#541255

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

Color values

HEX#541255
RGBrgb(84, 18, 85)
HSLhsl(299, 65%, 20%)
HSVhsv(299, 79%, 33%)
CMYKcmyk(1.2%, 78.8%, 0%, 66.7%)
CIE-LABlab(19.94, 38.63, -24.76)
CIE-LCHlch(19.94, 45.88, 327.34°)
OKLaboklab(32.66% 0.1072 -0.0687)
OKLCHoklch(32.66% 0.127 327.4)
XYZxyz(5.5121, 2.9737, 8.8762)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541255 #135512
analogous
#321255 #541255 #551235
triadic
#541255 #555412 #125554
tetradic
#541255 #553212 #135512 #123555
square
#541255 #553212 #135512 #123555
split-complementary
#541255 #355512 #125532
monochromatic
#190519 #220722 #541255 #861D88 #B827BA

Accessibility & contrast

On white

13.17
#541255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541255
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541255#FFFFFF#000000##FFFFFF
##5412551.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B57
Deuteranopia (green-blind)
#233353
Tritanopia (blue-blind)
#571D32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541255;
/* rgb */ color: rgb(84, 18, 85);
/* oklch */ color: oklch(32.7% 0.127 327.4);
Tailwind
colors: {
  custom: {
    50: '#875885',
    500: '#541255',
    950: '#000000',
  },
}
SCSS
$custom: #541255;
$custom-light: #875885;
$custom-dark: #000000;
JSON
{
  "hex": "#541255",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 299.104,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32658,
    "c": 0.12734,
    "h": 327.4
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#541255
secondary
#368E35
accent
#E84042
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541255

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

Preview Lab → · Contrast checker → · Palette generator →

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