#54259A#54259A

#54259A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.176 H 295.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#54259A
RGBrgb(84, 37, 154)
HSLhsl(264, 61%, 37%)
HSVhsv(264, 76%, 60%)
CMYKcmyk(45.5%, 76%, 0%, 39.6%)
CIE-LABlab(28.22, 46.59, -55.47)
CIE-LCHlch(28.22, 72.44, 310.03°)
OKLaboklab(40.22% 0.0762 -0.1589)
OKLCHoklch(40.22% 0.176 295.6)
XYZxyz(10.1489, 5.5408, 31.1003)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54259A #6B9A25
analogous
#25309A #54259A #8F259A
triadic
#54259A #9A5425 #259A54
tetradic
#54259A #9A2530 #6B9A25 #259A8F
square
#54259A #9A2530 #6B9A25 #259A8F
split-complementary
#54259A #9A8F25 #309A25
monochromatic
#1E0D37 #391969 #54259A #6F31CB #9160D9

Accessibility & contrast

On white

9.96
#54259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#54259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54259A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54259A#FFFFFF#000000##FFFFFF
##54259A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54259a;
/* rgb */ color: rgb(84, 37, 154);
/* oklch */ color: oklch(40.2% 0.176 295.6);
Tailwind
colors: {
  custom: {
    50: '#8b65b9',
    500: '#54259a',
    950: '#000000',
  },
}
SCSS
$custom: #54259a;
$custom-light: #8b65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54259a",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 264.103,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.1762,
    "h": 295.6
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#54259A
secondary
#97BE5D
accent
#E443A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54259A

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

Preview Lab → · Contrast checker → · Palette generator →

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