#54207C#54207C

#54207C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.149 H 306.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#54207C
RGBrgb(84, 32, 124)
HSLhsl(274, 59%, 31%)
HSVhsv(274, 74%, 49%)
CMYKcmyk(32.3%, 74.2%, 0%, 51.4%)
CIE-LABlab(24.87, 41.22, -42.27)
CIE-LCHlch(24.87, 59.03, 314.28°)
OKLaboklab(37.07% 0.0877 -0.1201)
OKLCHoklch(37.07% 0.149 306.2)
XYZxyz(7.8100, 4.3732, 19.4975)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54207C #487C20
analogous
#26207C #54207C #7C2076
triadic
#54207C #7C5420 #207C54
tetradic
#54207C #7C2620 #487C20 #20767C
square
#54207C #7C2620 #487C20 #20767C
split-complementary
#54207C #767C20 #207C26
monochromatic
#12071B #33134B #54207C #752DAD #9447CF

Accessibility & contrast

On white

11.20
#54207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#54207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54207C
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54207C#FFFFFF#000000##FFFFFF
##54207C1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#4D364C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #54207c;
/* rgb */ color: rgb(84, 32, 124);
/* oklch */ color: oklch(37.1% 0.149 306.2);
Tailwind
colors: {
  custom: {
    50: '#8860a3',
    500: '#54207c',
    950: '#000000',
  },
}
SCSS
$custom: #54207c;
$custom-light: #8860a3;
$custom-dark: #000000;
JSON
{
  "hex": "#54207c",
  "rgb": {
    "r": 84,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 273.913,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37065,
    "c": 0.1487,
    "h": 306.2
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#54207C
secondary
#75AF49
accent
#E2468A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #54207C

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

Preview Lab → · Contrast checker → · Palette generator →

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