#55289B#55289B

#55289B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.174 H 295.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#55289B
RGBrgb(85, 40, 155)
HSLhsl(263, 59%, 38%)
HSVhsv(263, 74%, 61%)
CMYKcmyk(45.2%, 74.2%, 0%, 39.2%)
CIE-LABlab(28.94, 45.59, -54.90)
CIE-LCHlch(28.94, 71.36, 309.71°)
OKLaboklab(40.78% 0.0747 -0.1572)
OKLCHoklch(40.78% 0.174 295.4)
XYZxyz(10.4199, 5.8152, 31.5774)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55289B #6E9B28
analogous
#28359B #55289B #8E289B
triadic
#55289B #9B5528 #289B55
tetradic
#55289B #9B2835 #6E9B28 #289B8E
square
#55289B #9B2835 #6E9B28 #289B8E
split-complementary
#55289B #9B8E28 #359B28
monochromatic
#200F3A #3A1B6A #55289B #7035CB #9266D7

Accessibility & contrast

On white

9.71
#55289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55289B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55289B#FFFFFF#000000##FFFFFF
##55289B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#42465F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #55289b;
/* rgb */ color: rgb(85, 40, 155);
/* oklch */ color: oklch(40.8% 0.174 295.4);
Tailwind
colors: {
  custom: {
    50: '#8c66b9',
    500: '#55289b',
    950: '#000000',
  },
}
SCSS
$custom: #55289b;
$custom-light: #8c66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55289b",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 263.478,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.17405,
    "h": 295.4
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#55289B
secondary
#99BD61
accent
#E246A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55289B

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

Preview Lab → · Contrast checker → · Palette generator →

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