#54459A#54459A

#54459A is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.1% C 0.133 H 287.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#54459A
RGBrgb(84, 69, 154)
HSLhsl(251, 38%, 44%)
HSVhsv(251, 55%, 60%)
CMYKcmyk(45.5%, 55.2%, 0%, 39.6%)
CIE-LABlab(34.95, 28.51, -44.55)
CIE-LCHlch(34.95, 52.90, 302.61°)
OKLaboklab(45.09% 0.0411 -0.1268)
OKLCHoklch(45.09% 0.133 287.9)
XYZxyz(11.6154, 8.4737, 31.5892)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54459A #8B9A45
analogous
#45609A #54459A #7E459A
triadic
#54459A #9A5445 #459A54
tetradic
#54459A #9A4560 #8B9A45 #459A7E
square
#54459A #9A4560 #8B9A45 #459A7E
split-complementary
#54459A #9A7E45 #609A45
monochromatic
#261F45 #3D3270 #54459A #7263B9 #988DCC

Accessibility & contrast

On white

7.79
#54459A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#54459A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54459A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54459A#FFFFFF#000000##FFFFFF
##54459A1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549D
Deuteranopia (green-blind)
#1A5098
Tritanopia (blue-blind)
#3F5768
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #54459a;
/* rgb */ color: rgb(84, 69, 154);
/* oklch */ color: oklch(45.1% 0.133 287.9);
Tailwind
colors: {
  custom: {
    50: '#8979b8',
    500: '#54459a',
    950: '#000000',
  },
}
SCSS
$custom: #54459a;
$custom-light: #8979b8;
$custom-dark: #000000;
JSON
{
  "hex": "#54459a",
  "rgb": {
    "r": 84,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 250.588,
    "s": 38.117,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45092,
    "c": 0.13333,
    "h": 287.9
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#54459A
secondary
#AEB783
accent
#CE5ABA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #54459A

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

Preview Lab → · Contrast checker → · Palette generator →

#54459A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva