#54459D#54459D

#54459D is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.3% C 0.138 H 287.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#54459D
RGBrgb(84, 69, 157)
HSLhsl(250, 39%, 44%)
HSVhsv(250, 56%, 62%)
CMYKcmyk(46.5%, 56.1%, 0%, 38.4%)
CIE-LABlab(35.15, 29.43, -46.04)
CIE-LCHlch(35.15, 54.64, 302.58°)
OKLaboklab(45.31% 0.0412 -0.1312)
OKLCHoklch(45.31% 0.138 287.4)
XYZxyz(11.8683, 8.5749, 32.9215)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54459D #8E9D45
analogous
#45629D #54459D #80459D
triadic
#54459D #9D5445 #459D54
tetradic
#54459D #9D4562 #8E9D45 #459D80
square
#54459D #9D4562 #8E9D45 #459D80
split-complementary
#54459D #9D8045 #629D45
monochromatic
#272048 #3D3272 #54459D #7364BB #998FCE

Accessibility & contrast

On white

7.73
#54459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#54459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54459D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54459D#FFFFFF#000000##FFFFFF
##54459D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A0
Deuteranopia (green-blind)
#14509B
Tritanopia (blue-blind)
#3D586A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #54459d;
/* rgb */ color: rgb(84, 69, 157);
/* oklch */ color: oklch(45.3% 0.138 287.4);
Tailwind
colors: {
  custom: {
    50: '#8979ba',
    500: '#54459d',
    950: '#000000',
  },
}
SCSS
$custom: #54459d;
$custom-light: #8979ba;
$custom-dark: #000000;
JSON
{
  "hex": "#54459d",
  "rgb": {
    "r": 84,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 250.227,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.13753,
    "h": 287.4
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#54459D
secondary
#B0B985
accent
#CF59BB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #54459D

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

Preview Lab → · Contrast checker → · Palette generator →

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