#54206E#54206E

#54206E is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.133 H 312.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#54206E
RGBrgb(84, 32, 110)
HSLhsl(280, 55%, 28%)
HSVhsv(280, 71%, 43%)
CMYKcmyk(23.6%, 70.9%, 0%, 56.9%)
CIE-LABlab(23.82, 37.83, -35.01)
CIE-LCHlch(23.82, 51.55, 317.21°)
OKLaboklab(35.98% 0.0896 -0.0988)
OKLCHoklch(35.98% 0.133 312.2)
XYZxyz(6.9866, 4.0438, 15.1613)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54206E #3A6E20
analogous
#2D206E #54206E #6E2061
triadic
#54206E #6E5420 #206E54
tetradic
#54206E #6E2D20 #3A6E20 #20616E
square
#54206E #6E2D20 #3A6E20 #20616E
split-complementary
#54206E #616E20 #206E2D
monochromatic
#120718 #30123F #54206E #782E9D #9B41C8

Accessibility & contrast

On white

11.61
#54206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#54206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54206E
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54206E#FFFFFF#000000##FFFFFF
##54206E1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#193A6C
Tritanopia (blue-blind)
#513044
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #54206e;
/* rgb */ color: rgb(84, 32, 110);
/* oklch */ color: oklch(36.0% 0.133 312.2);
Tailwind
colors: {
  custom: {
    50: '#876098',
    500: '#54206e',
    950: '#000000',
  },
}
SCSS
$custom: #54206e;
$custom-light: #876098;
$custom-dark: #000000;
JSON
{
  "hex": "#54206e",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 280,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.13335,
    "h": 312.2
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#54206E
secondary
#66A248
accent
#DE4A7B
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #54206E

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

Preview Lab → · Contrast checker → · Palette generator →

#54206E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva