#54366C#54366C

#54366C is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.3% C 0.094 H 308.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#54366C
RGBrgb(84, 54, 108)
HSLhsl(273, 33%, 32%)
HSVhsv(273, 50%, 42%)
CMYKcmyk(22.2%, 50%, 0%, 57.6%)
CIE-LABlab(28.40, 24.81, -26.43)
CIE-LCHlch(28.40, 36.25, 313.19°)
OKLaboklab(39.29% 0.0583 -0.0738)
OKLCHoklch(39.29% 0.094 308.3)
XYZxyz(7.6816, 5.6060, 14.8618)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54366C #4E6C36
analogous
#39366C #54366C #6C3669
triadic
#54366C #6C5436 #366C54
tetradic
#54366C #6C3936 #4E6C36 #36696C
square
#54366C #6C3936 #4E6C36 #36696C
split-complementary
#54366C #696C36 #366C39
monochromatic
#150D1A #342243 #54366C #744A95 #9269B4

Accessibility & contrast

On white

9.90
#54366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#54366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54366C
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54366C#FFFFFF#000000##FFFFFF
##54366C1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28426E
Deuteranopia (green-blind)
#30436B
Tritanopia (blue-blind)
#513F4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54366c;
/* rgb */ color: rgb(84, 54, 108);
/* oklch */ color: oklch(39.3% 0.094 308.3);
Tailwind
colors: {
  custom: {
    50: '#856e96',
    500: '#54366c',
    950: '#000000',
  },
}
SCSS
$custom: #54366c;
$custom-light: #856e96;
$custom-dark: #000000;
JSON
{
  "hex": "#54366c",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 273.333,
    "s": 33.333,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.09402,
    "h": 308.3
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#54366C
secondary
#7C9D61
accent
#C95E8E
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #54366C

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

Preview Lab → · Contrast checker → · Palette generator →

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