#54367D#54367D

#54367D is a dark, moderate violet. Relative luminance 0.060; OKLCH L 40.4% C 0.117 H 300.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#54367D
RGBrgb(84, 54, 125)
HSLhsl(265, 40%, 35%)
HSVhsv(265, 57%, 49%)
CMYKcmyk(32.8%, 56.8%, 0%, 51%)
CIE-LABlab(29.42, 29.34, -35.56)
CIE-LCHlch(29.42, 46.11, 309.53°)
OKLaboklab(40.39% 0.0599 -0.1005)
OKLCHoklch(40.39% 0.117 300.8)
XYZxyz(8.6761, 6.0038, 20.0998)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54367D #5F7D36
analogous
#363B7D #54367D #77367D
triadic
#54367D #7D5436 #367D54
tetradic
#54367D #7D363B #5F7D36 #367D77
square
#54367D #7D363B #5F7D36 #367D77
split-complementary
#54367D #7D7736 #3B7D36
monochromatic
#1B1128 #372452 #54367D #7148A8 #906DC0

Accessibility & contrast

On white

9.54
#54367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#54367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54367D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54367D#FFFFFF#000000##FFFFFF
##54367D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#4C4454
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #54367d;
/* rgb */ color: rgb(84, 54, 125);
/* oklch */ color: oklch(40.4% 0.117 300.8);
Tailwind
colors: {
  custom: {
    50: '#876ea3',
    500: '#54367d',
    950: '#000000',
  },
}
SCSS
$custom: #54367d;
$custom-light: #876ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#54367d",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 265.352,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.11694,
    "h": 300.8
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#54367D
secondary
#8DA966
accent
#D0589D
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #54367D

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

Preview Lab → · Contrast checker → · Palette generator →

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