#54249A#54249A

#54249A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.177 H 295.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#54249A
RGBrgb(84, 36, 154)
HSLhsl(264, 62%, 37%)
HSVhsv(264, 77%, 60%)
CMYKcmyk(45.5%, 76.6%, 0%, 39.6%)
CIE-LABlab(28.06, 47.06, -55.74)
CIE-LCHlch(28.06, 72.95, 310.18°)
OKLaboklab(40.1% 0.0771 -0.1597)
OKLCHoklch(40.1% 0.177 295.8)
XYZxyz(10.1182, 5.4794, 31.0901)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54249A #6A9A24
analogous
#242F9A #54249A #8F249A
triadic
#54249A #9A5424 #249A54
tetradic
#54249A #9A242F #6A9A24 #249A8F
square
#54249A #9A242F #6A9A24 #249A8F
split-complementary
#54249A #9A8F24 #2F9A24
monochromatic
#1E0D37 #391868 #54249A #6F30CC #915FDA

Accessibility & contrast

On white

10.02
#54249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#54249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54249A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54249A#FFFFFF#000000##FFFFFF
##54249A1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#41445E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #54249a;
/* rgb */ color: rgb(84, 36, 154);
/* oklch */ color: oklch(40.1% 0.177 295.8);
Tailwind
colors: {
  custom: {
    50: '#8b64b9',
    500: '#54249a',
    950: '#000000',
  },
}
SCSS
$custom: #54249a;
$custom-light: #8b64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54249a",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 264.407,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.17729,
    "h": 295.8
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#54249A
secondary
#96BF5B
accent
#E543A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54249A

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

Preview Lab → · Contrast checker → · Palette generator →

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