#54219A#54219A

#54219A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.180 H 296.2°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#54219A
RGBrgb(84, 33, 154)
HSLhsl(265, 65%, 37%)
HSVhsv(265, 79%, 60%)
CMYKcmyk(45.5%, 78.6%, 0%, 39.6%)
CIE-LABlab(27.59, 48.41, -56.51)
CIE-LCHlch(27.59, 74.41, 310.59°)
OKLaboklab(39.77% 0.0796 -0.1619)
OKLCHoklch(39.77% 0.18 296.2)
XYZxyz(10.0312, 5.3054, 31.0611)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54219A #679A21
analogous
#212B9A #54219A #91219A
triadic
#54219A #9A5421 #219A54
tetradic
#54219A #9A212B #679A21 #219A91
square
#54219A #9A212B #679A21 #219A91
split-complementary
#54219A #9A9121 #2B9A21
monochromatic
#1D0B35 #391668 #54219A #6F2CCC #915ADC

Accessibility & contrast

On white

10.19
#54219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#54219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54219A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54219A#FFFFFF#000000##FFFFFF
##54219A1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#41425D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #54219a;
/* rgb */ color: rgb(84, 33, 154);
/* oklch */ color: oklch(39.8% 0.180 296.2);
Tailwind
colors: {
  custom: {
    50: '#8b63b9',
    500: '#54219a',
    950: '#000000',
  },
}
SCSS
$custom: #54219a;
$custom-light: #8b63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54219a",
  "rgb": {
    "r": 84,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 265.289,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.18041,
    "h": 296.2
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#54219A
secondary
#94C057
accent
#E840A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #54219A

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

Preview Lab → · Contrast checker → · Palette generator →

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