#54249E#54249E

#54249E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.182 H 294.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#54249E
RGBrgb(84, 36, 158)
HSLhsl(264, 63%, 38%)
HSVhsv(264, 77%, 62%)
CMYKcmyk(46.8%, 77.2%, 0%, 38%)
CIE-LABlab(28.42, 48.12, -57.59)
CIE-LCHlch(28.42, 75.05, 309.88°)
OKLaboklab(40.47% 0.076 -0.1651)
OKLCHoklch(40.47% 0.182 294.7)
XYZxyz(10.4569, 5.6149, 32.8740)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54249E #6E9E24
analogous
#24319E #54249E #91249E
triadic
#54249E #9E5424 #249E54
tetradic
#54249E #9E2431 #6E9E24 #249E91
square
#54249E #9E2431 #6E9E24 #249E91
split-complementary
#54249E #9E9124 #319E24
monochromatic
#1F0D3A #3A196C #54249E #6F2FD0 #9161DB

Accessibility & contrast

On white

9.89
#54249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#54249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54249E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54249E#FFFFFF#000000##FFFFFF
##54249E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#3E4560
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54249e;
/* rgb */ color: rgb(84, 36, 158);
/* oklch */ color: oklch(40.5% 0.182 294.7);
Tailwind
colors: {
  custom: {
    50: '#8c64bc',
    500: '#54249e',
    950: '#000000',
  },
}
SCSS
$custom: #54249e;
$custom-light: #8c64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#54249e",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 263.607,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.18174,
    "h": 294.7
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#54249E
secondary
#99C05E
accent
#E642A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54249E

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

Preview Lab → · Contrast checker → · Palette generator →

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