#54366E#54366E

#54366E is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.4% C 0.097 H 307.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#54366E
RGBrgb(84, 54, 110)
HSLhsl(272, 34%, 32%)
HSVhsv(272, 51%, 43%)
CMYKcmyk(23.6%, 50.9%, 0%, 56.9%)
CIE-LABlab(28.51, 25.33, -27.53)
CIE-LCHlch(28.51, 37.41, 312.62°)
OKLaboklab(39.41% 0.0585 -0.077)
OKLCHoklch(39.41% 0.097 307.2)
XYZxyz(7.7892, 5.6490, 15.4289)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54366E #506E36
analogous
#38366E #54366E #6E366C
triadic
#54366E #6E5436 #366E54
tetradic
#54366E #6E3836 #506E36 #366C6E
square
#54366E #6E3836 #506E36 #366C6E
split-complementary
#54366E #6C6E36 #366E38
monochromatic
#150E1C #352245 #54366E #734A97 #9269B5

Accessibility & contrast

On white

9.86
#54366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54366E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54366E#FFFFFF#000000##FFFFFF
##54366E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274270
Deuteranopia (green-blind)
#2F446D
Tritanopia (blue-blind)
#503F4D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54366e;
/* rgb */ color: rgb(84, 54, 110);
/* oklch */ color: oklch(39.4% 0.097 307.2);
Tailwind
colors: {
  custom: {
    50: '#866e98',
    500: '#54366e',
    950: '#000000',
  },
}
SCSS
$custom: #54366e;
$custom-light: #866e98;
$custom-dark: #000000;
JSON
{
  "hex": "#54366e",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 272.143,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39414,
    "c": 0.09672,
    "h": 307.2
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#54366E
secondary
#7E9E62
accent
#CA5E90
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #54366E

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

Preview Lab → · Contrast checker → · Palette generator →

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