#55288B#55288B

#55288B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.156 H 300.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#55288B
RGBrgb(85, 40, 139)
HSLhsl(267, 55%, 35%)
HSVhsv(267, 71%, 55%)
CMYKcmyk(38.8%, 71.2%, 0%, 45.5%)
CIE-LABlab(27.61, 41.31, -47.22)
CIE-LCHlch(27.61, 62.74, 311.18°)
OKLaboklab(39.42% 0.078 -0.1346)
OKLCHoklch(39.42% 0.156 300.1)
XYZxyz(9.1642, 5.3129, 24.9638)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55288B #5E8B28
analogous
#282C8B #55288B #87288B
triadic
#55288B #8B5528 #288B55
tetradic
#55288B #8B282C #5E8B28 #288B87
square
#55288B #8B282C #5E8B28 #288B87
split-complementary
#55288B #8B8728 #2C8B28
monochromatic
#1B0D2C #381A5B #55288B #7236BB #915DD0

Accessibility & contrast

On white

10.18
#55288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#55288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55288B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55288B#FFFFFF#000000##FFFFFF
##55288B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#494056
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #55288b;
/* rgb */ color: rgb(85, 40, 139);
/* oklch */ color: oklch(39.4% 0.156 300.1);
Tailwind
colors: {
  custom: {
    50: '#8a66ae',
    500: '#55288b',
    950: '#000000',
  },
}
SCSS
$custom: #55288b;
$custom-light: #8a66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55288b",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 267.273,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.15558,
    "h": 300.1
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#55288B
secondary
#8CB659
accent
#DF499B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55288B

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

Preview Lab → · Contrast checker → · Palette generator →

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