#54207A#54207A

#54207A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.147 H 307.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#54207A
RGBrgb(84, 32, 122)
HSLhsl(275, 58%, 30%)
HSVhsv(275, 74%, 48%)
CMYKcmyk(31.1%, 73.8%, 0%, 52.2%)
CIE-LABlab(24.71, 40.72, -41.25)
CIE-LCHlch(24.71, 57.97, 314.63°)
OKLaboklab(36.9% 0.0881 -0.1171)
OKLCHoklch(36.9% 0.147 307)
XYZxyz(7.6848, 4.3231, 18.8382)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54207A #467A20
analogous
#27207A #54207A #7A2073
triadic
#54207A #7A5420 #207A54
tetradic
#54207A #7A2720 #467A20 #20737A
square
#54207A #7A2720 #467A20 #20737A
split-complementary
#54207A #737A20 #207A27
monochromatic
#110719 #33134A #54207A #752DAA #9546CE

Accessibility & contrast

On white

11.26
#54207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#54207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54207A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54207A#FFFFFF#000000##FFFFFF
##54207A1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#023B78
Tritanopia (blue-blind)
#4E354B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #54207a;
/* rgb */ color: rgb(84, 32, 122);
/* oklch */ color: oklch(36.9% 0.147 307.0);
Tailwind
colors: {
  custom: {
    50: '#8860a1',
    500: '#54207a',
    950: '#000000',
  },
}
SCSS
$custom: #54207a;
$custom-light: #8860a1;
$custom-dark: #000000;
JSON
{
  "hex": "#54207a",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 274.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36904,
    "c": 0.14651,
    "h": 307
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#54207A
secondary
#73AD49
accent
#E24688
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #54207A

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

Preview Lab → · Contrast checker → · Palette generator →

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