#54367B#54367B

#54367B is a dark, moderate violet. Relative luminance 0.060; OKLCH L 40.3% C 0.114 H 301.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#54367B
RGBrgb(84, 54, 123)
HSLhsl(266, 39%, 35%)
HSVhsv(266, 56%, 48%)
CMYKcmyk(31.7%, 56.1%, 0%, 51.8%)
CIE-LABlab(29.29, 28.80, -34.51)
CIE-LCHlch(29.29, 44.95, 309.84°)
OKLaboklab(40.25% 0.0598 -0.0974)
OKLCHoklch(40.25% 0.114 301.5)
XYZxyz(8.5496, 5.9532, 19.4337)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54367B #5D7B36
analogous
#363B7B #54367B #77367B
triadic
#54367B #7B5436 #367B54
tetradic
#54367B #7B363B #5D7B36 #367B77
square
#54367B #7B363B #5D7B36 #367B77
split-complementary
#54367B #7B7736 #3B7B36
monochromatic
#1A1126 #372350 #54367B #7149A6 #906DBF

Accessibility & contrast

On white

9.59
#54367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#54367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54367B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54367B#FFFFFF#000000##FFFFFF
##54367B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457D
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#4C4353
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #54367b;
/* rgb */ color: rgb(84, 54, 123);
/* oklch */ color: oklch(40.3% 0.114 301.5);
Tailwind
colors: {
  custom: {
    50: '#876ea1',
    500: '#54367b',
    950: '#000000',
  },
}
SCSS
$custom: #54367b;
$custom-light: #876ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#54367b",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 266.087,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40251,
    "c": 0.11426,
    "h": 301.5
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#54367B
secondary
#8BA765
accent
#CF599C
background
#F8F6FA
surface
#F0ECF3
border
#CBC7CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #54367B

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

Preview Lab → · Contrast checker → · Palette generator →

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