#54355F#54355F

#54355F is a dark, moderate purple. Relative luminance 0.053; OKLCH L 38.4% C 0.079 H 316.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#54355F
RGBrgb(84, 53, 95)
HSLhsl(284, 28%, 29%)
HSVhsv(284, 44%, 37%)
CMYKcmyk(11.6%, 44.2%, 0%, 62.7%)
CIE-LABlab(27.46, 22.22, -19.53)
CIE-LCHlch(27.46, 29.58, 318.68°)
OKLaboklab(38.36% 0.0575 -0.0539)
OKLCHoklch(38.36% 0.079 316.8)
XYZxyz(6.9945, 5.2574, 11.4706)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54355F #405F35
analogous
#3F355F #54355F #5F3555
triadic
#54355F #5F5435 #355F54
tetradic
#54355F #5F3F35 #405F35 #35555F
square
#54355F #5F3F35 #405F35 #35555F
split-complementary
#54355F #555F35 #355F3F
monochromatic
#110B14 #311F38 #54355F #774B86 #9765A9

Accessibility & contrast

On white

10.24
#54355F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#54355F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54355F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54355F#FFFFFF#000000##FFFFFF
##54355F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#36425E
Tritanopia (blue-blind)
#543B45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #54355f;
/* rgb */ color: rgb(84, 53, 95);
/* oklch */ color: oklch(38.4% 0.079 316.8);
Tailwind
colors: {
  custom: {
    50: '#856d8c',
    500: '#54355f',
    950: '#000000',
  },
}
SCSS
$custom: #54355f;
$custom-light: #856d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#54355f",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 95
  },
  "hsl": {
    "h": 284.286,
    "s": 28.378,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38363,
    "c": 0.07875,
    "h": 316.8
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#54355F
secondary
#6D9060
accent
#C5637D
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B070C
muted
#7C7A7D

Preview Lab

Preview with #54355F

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

Preview Lab → · Contrast checker → · Palette generator →

#54355F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva