#54249F#54249F

#54249F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.183 H 294.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#54249F
RGBrgb(84, 36, 159)
HSLhsl(263, 63%, 38%)
HSVhsv(263, 77%, 62%)
CMYKcmyk(47.2%, 77.4%, 0%, 37.6%)
CIE-LABlab(28.51, 48.39, -58.05)
CIE-LCHlch(28.51, 75.57, 309.81°)
OKLaboklab(40.56% 0.0757 -0.1664)
OKLCHoklch(40.56% 0.183 294.5)
XYZxyz(10.5433, 5.6495, 33.3291)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54249F #6F9F24
analogous
#24319F #54249F #91249F
triadic
#54249F #9F5424 #249F54
tetradic
#54249F #9F2431 #6F9F24 #249F91
square
#54249F #9F2431 #6F9F24 #249F91
split-complementary
#54249F #9F9124 #319F24
monochromatic
#1F0D3B #3A196D #54249F #6F30D0 #9162DB

Accessibility & contrast

On white

9.86
#54249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#54249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54249F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54249F#FFFFFF#000000##FFFFFF
##54249F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#3E4660
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54249f;
/* rgb */ color: rgb(84, 36, 159);
/* oklch */ color: oklch(40.6% 0.183 294.5);
Tailwind
colors: {
  custom: {
    50: '#8c64bc',
    500: '#54249f',
    950: '#000000',
  },
}
SCSS
$custom: #54249f;
$custom-light: #8c64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#54249f",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 263.415,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40559,
    "c": 0.18285,
    "h": 294.5
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#54249F
secondary
#9AC15E
accent
#E642A6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54249F

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

Preview Lab → · Contrast checker → · Palette generator →

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