#54385C#54385C

#54385C is a dark, moderate purple. Relative luminance 0.055; OKLCH L 38.8% C 0.069 H 318.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#54385C
RGBrgb(84, 56, 92)
HSLhsl(287, 24%, 29%)
HSVhsv(287, 39%, 36%)
CMYKcmyk(8.7%, 39.1%, 0%, 63.9%)
CIE-LABlab(28.08, 19.61, -16.62)
CIE-LCHlch(28.08, 25.71, 319.72°)
OKLaboklab(38.78% 0.0516 -0.0456)
OKLCHoklch(38.78% 0.069 318.6)
XYZxyz(7.0018, 5.4861, 10.8132)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54385C #405C38
analogous
#42385C #54385C #5C3852
triadic
#54385C #5C5438 #385C54
tetradic
#54385C #5C4238 #405C38 #38525C
square
#54385C #5C4238 #405C38 #38525C
split-complementary
#54385C #525C38 #385C42
monochromatic
#110C13 #312136 #54385C #774F82 #976AA4

Accessibility & contrast

On white

10.01
#54385C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#54385C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54385C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54385C#FFFFFF#000000##FFFFFF
##54385C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405D
Deuteranopia (green-blind)
#3A435B
Tritanopia (blue-blind)
#543C45
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #54385c;
/* rgb */ color: rgb(84, 56, 92);
/* oklch */ color: oklch(38.8% 0.069 318.6);
Tailwind
colors: {
  custom: {
    50: '#856f8a',
    500: '#54385c',
    950: '#000000',
  },
}
SCSS
$custom: #54385c;
$custom-light: #856f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#54385c",
  "rgb": {
    "r": 84,
    "g": 56,
    "b": 92
  },
  "hsl": {
    "h": 286.667,
    "s": 24.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38784,
    "c": 0.06885,
    "h": 318.6
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#54385C
secondary
#6D8C63
accent
#C1677B
background
#F8F6F8
surface
#EFECF0
border
#CAC7CB
text
#0B070B
muted
#7C7A7C

Preview Lab

Preview with #54385C

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

Preview Lab → · Contrast checker → · Palette generator →

#54385C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva