#54366F#54366F

#54366F is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.5% C 0.098 H 306.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#54366F
RGBrgb(84, 54, 111)
HSLhsl(272, 35%, 32%)
HSVhsv(272, 51%, 44%)
CMYKcmyk(24.3%, 51.4%, 0%, 56.5%)
CIE-LABlab(28.57, 25.59, -28.08)
CIE-LCHlch(28.57, 37.99, 312.35°)
OKLaboklab(39.48% 0.0587 -0.0786)
OKLCHoklch(39.48% 0.098 306.7)
XYZxyz(7.8440, 5.6709, 15.7172)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54366F #516F36
analogous
#38366F #54366F #6F366D
triadic
#54366F #6F5436 #366F54
tetradic
#54366F #6F3836 #516F36 #366D6F
square
#54366F #6F3836 #516F36 #366D6F
split-complementary
#54366F #6D6F36 #366F38
monochromatic
#160E1D #352246 #54366F #734A98 #9269B6

Accessibility & contrast

On white

9.84
#54366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#54366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54366F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54366F#FFFFFF#000000##FFFFFF
##54366F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264271
Deuteranopia (green-blind)
#2F446E
Tritanopia (blue-blind)
#50404D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54366f;
/* rgb */ color: rgb(84, 54, 111);
/* oklch */ color: oklch(39.5% 0.098 306.7);
Tailwind
colors: {
  custom: {
    50: '#866e98',
    500: '#54366f',
    950: '#000000',
  },
}
SCSS
$custom: #54366f;
$custom-light: #866e98;
$custom-dark: #000000;
JSON
{
  "hex": "#54366f",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 271.579,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.09807,
    "h": 306.7
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#54366F
secondary
#7F9F62
accent
#CB5D91
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #54366F

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

Preview Lab → · Contrast checker → · Palette generator →

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