#54366A#54366A

#54366A is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.2% C 0.091 H 309.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#54366A
RGBrgb(84, 54, 106)
HSLhsl(275, 33%, 31%)
HSVhsv(275, 49%, 42%)
CMYKcmyk(20.8%, 49.1%, 0%, 58.4%)
CIE-LABlab(28.28, 24.30, -25.33)
CIE-LCHlch(28.28, 35.10, 313.82°)
OKLaboklab(39.17% 0.058 -0.0706)
OKLCHoklch(39.17% 0.091 309.4)
XYZxyz(7.5764, 5.5639, 14.3077)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54366A #4C6A36
analogous
#3A366A #54366A #6A3666
triadic
#54366A #6A5436 #366A54
tetradic
#54366A #6A3A36 #4C6A36 #36666A
square
#54366A #6A3A36 #4C6A36 #36666A
split-complementary
#54366A #666A36 #366A3A
monochromatic
#140D19 #342141 #54366A #744B93 #9368B2

Accessibility & contrast

On white

9.94
#54366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#54366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54366A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54366A#FFFFFF#000000##FFFFFF
##54366A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A416C
Deuteranopia (green-blind)
#324369
Tritanopia (blue-blind)
#513E4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54366a;
/* rgb */ color: rgb(84, 54, 106);
/* oklch */ color: oklch(39.2% 0.091 309.4);
Tailwind
colors: {
  custom: {
    50: '#856e95',
    500: '#54366a',
    950: '#000000',
  },
}
SCSS
$custom: #54366a;
$custom-light: #856e95;
$custom-dark: #000000;
JSON
{
  "hex": "#54366a",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 274.615,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39173,
    "c": 0.09133,
    "h": 309.4
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#54366A
secondary
#799B61
accent
#C95F8C
background
#F8F6F9
surface
#EFECF1
border
#CAC7CB
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #54366A

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

Preview Lab → · Contrast checker → · Palette generator →

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