#541256#541256

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

Color values

HEX#541256
RGBrgb(84, 18, 86)
HSLhsl(298, 65%, 20%)
HSVhsv(298, 79%, 34%)
CMYKcmyk(2.3%, 79.1%, 0%, 66.3%)
CIE-LABlab(20.00, 38.82, -25.33)
CIE-LCHlch(20.00, 46.35, 326.88°)
OKLaboklab(32.73% 0.1072 -0.0703)
OKLCHoklch(32.73% 0.128 326.7)
XYZxyz(5.5521, 2.9897, 9.0869)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541256 #145612
analogous
#321256 #541256 #561236
triadic
#541256 #565412 #125654
tetradic
#541256 #563212 #145612 #123656
square
#541256 #563212 #145612 #123656
split-complementary
#541256 #365612 #125632
monochromatic
#190519 #230723 #541256 #851D89 #B727BB

Accessibility & contrast

On white

13.14
#541256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#541256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541256
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541256#FFFFFF#000000##FFFFFF
##5412561.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032B58
Deuteranopia (green-blind)
#233354
Tritanopia (blue-blind)
#571D33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #541256;
/* rgb */ color: rgb(84, 18, 86);
/* oklch */ color: oklch(32.7% 0.128 326.7);
Tailwind
colors: {
  custom: {
    50: '#875886',
    500: '#541256',
    950: '#000000',
  },
}
SCSS
$custom: #541256;
$custom-light: #875886;
$custom-dark: #000000;
JSON
{
  "hex": "#541256",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 298.235,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32725,
    "c": 0.12824,
    "h": 326.7
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#541256
secondary
#388F35
accent
#E83F44
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #541256

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

Preview Lab → · Contrast checker → · Palette generator →

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