#54367F#54367F

#54367F is a dark, moderate violet. Relative luminance 0.061; OKLCH L 40.5% C 0.120 H 300.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#54367F
RGBrgb(84, 54, 127)
HSLhsl(265, 40%, 35%)
HSVhsv(265, 57%, 50%)
CMYKcmyk(33.9%, 57.5%, 0%, 50.2%)
CIE-LABlab(29.55, 29.90, -36.61)
CIE-LCHlch(29.55, 47.27, 309.24°)
OKLaboklab(40.52% 0.0599 -0.1035)
OKLCHoklch(40.52% 0.12 300.1)
XYZxyz(8.8052, 6.0554, 20.7795)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54367F #617F36
analogous
#363C7F #54367F #78367F
triadic
#54367F #7F5436 #367F54
tetradic
#54367F #7F363C #617F36 #367F78
square
#54367F #7F363C #617F36 #367F78
split-complementary
#54367F #7F7836 #3C7F36
monochromatic
#1B1129 #382454 #54367F #7048AA #906EC1

Accessibility & contrast

On white

9.50
#54367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#54367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54367F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54367F#FFFFFF#000000##FFFFFF
##54367F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184581
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#4B4555
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #54367f;
/* rgb */ color: rgb(84, 54, 127);
/* oklch */ color: oklch(40.5% 0.120 300.1);
Tailwind
colors: {
  custom: {
    50: '#876ea4',
    500: '#54367f',
    950: '#000000',
  },
}
SCSS
$custom: #54367f;
$custom-light: #876ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#54367f",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 264.658,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.11963,
    "h": 300.1
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#54367F
secondary
#8EAA67
accent
#D0589F
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #54367F

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

Preview Lab → · Contrast checker → · Palette generator →

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