#54366B#54366B

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

Color values

HEX#54366B
RGBrgb(84, 54, 107)
HSLhsl(274, 33%, 32%)
HSVhsv(274, 50%, 42%)
CMYKcmyk(21.5%, 49.5%, 0%, 58%)
CIE-LABlab(28.34, 24.56, -25.88)
CIE-LCHlch(28.34, 35.68, 313.50°)
OKLaboklab(39.23% 0.0581 -0.0722)
OKLCHoklch(39.23% 0.093 308.8)
XYZxyz(7.6287, 5.5848, 14.5832)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54366B #4D6B36
analogous
#3A366B #54366B #6B3668
triadic
#54366B #6B5436 #366B54
tetradic
#54366B #6B3A36 #4D6B36 #36686B
square
#54366B #6B3A36 #4D6B36 #36686B
split-complementary
#54366B #686B36 #366B3A
monochromatic
#140D1A #342142 #54366B #744B94 #9368B3

Accessibility & contrast

On white

9.92
#54366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54366B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54366B#FFFFFF#000000##FFFFFF
##54366B1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426D
Deuteranopia (green-blind)
#31436A
Tritanopia (blue-blind)
#513F4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54366b;
/* rgb */ color: rgb(84, 54, 107);
/* oklch */ color: oklch(39.2% 0.093 308.8);
Tailwind
colors: {
  custom: {
    50: '#856e95',
    500: '#54366b',
    950: '#000000',
  },
}
SCSS
$custom: #54366b;
$custom-light: #856e95;
$custom-dark: #000000;
JSON
{
  "hex": "#54366b",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 273.962,
    "s": 32.919,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39233,
    "c": 0.09267,
    "h": 308.8
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#54366B
secondary
#7B9C61
accent
#C95F8D
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #54366B

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

Preview Lab → · Contrast checker → · Palette generator →

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