#54256A#54256A

#54256A is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.4% C 0.121 H 313.4°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#54256A
RGBrgb(84, 37, 106)
HSLhsl(281, 48%, 28%)
HSVhsv(281, 65%, 42%)
CMYKcmyk(20.8%, 65.1%, 0%, 58.4%)
CIE-LABlab(24.48, 34.30, -31.37)
CIE-LCHlch(24.48, 46.48, 317.55°)
OKLaboklab(36.37% 0.0833 -0.0881)
OKLCHoklch(36.37% 0.121 313.4)
XYZxyz(6.9188, 4.2488, 14.0885)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54256A #3B6A25
analogous
#32256A #54256A #6A255D
triadic
#54256A #6A5425 #256A54
tetradic
#54256A #6A3225 #3B6A25 #255D6A
square
#54256A #6A3225 #3B6A25 #255D6A
split-complementary
#54256A #5D6A25 #256A32
monochromatic
#120817 #30153D #54256A #783597 #9A4AC0

Accessibility & contrast

On white

11.35
#54256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#54256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54256A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54256A#FFFFFF#000000##FFFFFF
##54256A1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B386C
Deuteranopia (green-blind)
#223B68
Tritanopia (blue-blind)
#523244
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #54256a;
/* rgb */ color: rgb(84, 37, 106);
/* oklch */ color: oklch(36.4% 0.121 313.4);
Tailwind
colors: {
  custom: {
    50: '#866395',
    500: '#54256a',
    950: '#000000',
  },
}
SCSS
$custom: #54256a;
$custom-light: #866395;
$custom-dark: #000000;
JSON
{
  "hex": "#54256a",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 280.87,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36369,
    "c": 0.12127,
    "h": 313.4
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#54256A
secondary
#679D4E
accent
#D8507B
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B050D
muted
#7C7A7E

Preview Lab

Preview with #54256A

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

Preview Lab → · Contrast checker → · Palette generator →

#54256A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva