#541855#541855

#541855 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.3% C 0.119 H 327.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#541855
RGBrgb(84, 24, 85)
HSLhsl(299, 56%, 21%)
HSVhsv(299, 72%, 33%)
CMYKcmyk(1.2%, 71.8%, 0%, 66.7%)
CIE-LABlab(20.81, 36.17, -23.38)
CIE-LCHlch(20.81, 43.07, 327.12°)
OKLaboklab(33.28% 0.1003 -0.0647)
OKLCHoklch(33.28% 0.119 327.2)
XYZxyz(5.6224, 3.1943, 8.9130)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541855 #195518
analogous
#361855 #541855 #551838
triadic
#541855 #555418 #185554
tetradic
#541855 #553618 #195518 #183855
square
#541855 #553618 #195518 #183855
split-complementary
#541855 #385518 #185536
monochromatic
#180718 #250B25 #541855 #832585 #B233B4

Accessibility & contrast

On white

12.81
#541855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#541855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541855
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541855#FFFFFF#000000##FFFFFF
##5418551.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2D57
Deuteranopia (green-blind)
#263553
Tritanopia (blue-blind)
#572134
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541855;
/* rgb */ color: rgb(84, 24, 85);
/* oklch */ color: oklch(33.3% 0.119 327.2);
Tailwind
colors: {
  custom: {
    50: '#865b85',
    500: '#541855',
    950: '#000000',
  },
}
SCSS
$custom: #541855;
$custom-light: #865b85;
$custom-dark: #000000;
JSON
{
  "hex": "#541855",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 299.016,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33282,
    "c": 0.11939,
    "h": 327.2
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#541855
secondary
#3E8C3D
accent
#DF494B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #541855

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

Preview Lab → · Contrast checker → · Palette generator →

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