#55289C#55289C

#55289C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.175 H 295.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#55289C
RGBrgb(85, 40, 156)
HSLhsl(263, 59%, 38%)
HSVhsv(263, 74%, 61%)
CMYKcmyk(45.5%, 74.4%, 0%, 38.8%)
CIE-LABlab(29.03, 45.86, -55.37)
CIE-LCHlch(29.03, 71.89, 309.63°)
OKLaboklab(40.87% 0.0745 -0.1586)
OKLCHoklch(40.87% 0.175 295.2)
XYZxyz(10.5042, 5.8489, 32.0216)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55289C #6F9C28
analogous
#28359C #55289C #8F289C
triadic
#55289C #9C5528 #289C55
tetradic
#55289C #9C2835 #6F9C28 #289C8F
square
#55289C #9C2835 #6F9C28 #289C8F
split-complementary
#55289C #9C8F28 #359C28
monochromatic
#200F3B #3A1C6B #55289C #7036CB #9267D8

Accessibility & contrast

On white

9.68
#55289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#55289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55289C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55289C#FFFFFF#000000##FFFFFF
##55289C1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#414660
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #55289c;
/* rgb */ color: rgb(85, 40, 156);
/* oklch */ color: oklch(40.9% 0.175 295.2);
Tailwind
colors: {
  custom: {
    50: '#8c66ba',
    500: '#55289c',
    950: '#000000',
  },
}
SCSS
$custom: #55289c;
$custom-light: #8c66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#55289c",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 263.276,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40868,
    "c": 0.17519,
    "h": 295.2
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#55289C
secondary
#9ABE62
accent
#E245A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55289C

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

Preview Lab → · Contrast checker → · Palette generator →

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