#54487F#54487F

#54487F is a dark, moderate violet. Relative luminance 0.081; OKLCH L 43.9% C 0.089 H 292.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#54487F
RGBrgb(84, 72, 127)
HSLhsl(253, 28%, 39%)
HSVhsv(253, 43%, 50%)
CMYKcmyk(33.9%, 43.3%, 0%, 50.2%)
CIE-LABlab(34.09, 18.58, -29.40)
CIE-LCHlch(34.09, 34.77, 302.29°)
OKLaboklab(43.92% 0.0339 -0.0825)
OKLCHoklch(43.92% 0.089 292.4)
XYZxyz(9.8033, 8.0517, 21.1122)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54487F #737F48
analogous
#48587F #54487F #70487F
triadic
#54487F #7F5448 #487F54
tetradic
#54487F #7F4858 #737F48 #487F70
square
#54487F #7F4858 #737F48 #487F70
split-complementary
#54487F #7F7048 #587F48
monochromatic
#201C31 #3A3258 #54487F #6F60A5 #9287BB

Accessibility & contrast

On white

8.04
#54487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#54487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54487F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54487F#FFFFFF#000000##FFFFFF
##54487F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#384F7E
Tritanopia (blue-blind)
#4A525D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #54487f;
/* rgb */ color: rgb(84, 72, 127);
/* oklch */ color: oklch(43.9% 0.089 292.4);
Tailwind
colors: {
  custom: {
    50: '#867ba4',
    500: '#54487f',
    950: '#000000',
  },
}
SCSS
$custom: #54487f;
$custom-light: #867ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#54487f",
  "rgb": {
    "r": 84,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 253.091,
    "s": 27.638,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43919,
    "c": 0.08916,
    "h": 292.4
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#54487F
secondary
#9DA77C
accent
#C464AF
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #54487F

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

Preview Lab → · Contrast checker → · Palette generator →

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