#55289A#55289A

#55289A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.173 H 295.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#55289A
RGBrgb(85, 40, 154)
HSLhsl(264, 59%, 38%)
HSVhsv(264, 74%, 60%)
CMYKcmyk(44.8%, 74%, 0%, 39.6%)
CIE-LABlab(28.85, 45.32, -54.43)
CIE-LCHlch(28.85, 70.83, 309.78°)
OKLaboklab(40.69% 0.075 -0.1558)
OKLCHoklch(40.69% 0.173 295.7)
XYZxyz(10.3363, 5.7817, 31.1370)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55289A #6D9A28
analogous
#28349A #55289A #8E289A
triadic
#55289A #9A5528 #289A55
tetradic
#55289A #9A2834 #6D9A28 #289A8E
square
#55289A #9A2834 #6D9A28 #289A8E
split-complementary
#55289A #9A8E28 #349A28
monochromatic
#1F0F39 #3A1B69 #55289A #7035CA #9265D7

Accessibility & contrast

On white

9.74
#55289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#55289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55289A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55289A#FFFFFF#000000##FFFFFF
##55289A1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#42455F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #55289a;
/* rgb */ color: rgb(85, 40, 154);
/* oklch */ color: oklch(40.7% 0.173 295.7);
Tailwind
colors: {
  custom: {
    50: '#8c66b9',
    500: '#55289a',
    950: '#000000',
  },
}
SCSS
$custom: #55289a;
$custom-light: #8c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55289a",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 263.684,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40692,
    "c": 0.17291,
    "h": 295.7
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#55289A
secondary
#99BD61
accent
#E246A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #55289A

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

Preview Lab → · Contrast checker → · Palette generator →

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