#55288D#55288D

#55288D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.158 H 299.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#55288D
RGBrgb(85, 40, 141)
HSLhsl(267, 56%, 35%)
HSVhsv(267, 72%, 55%)
CMYKcmyk(39.7%, 71.6%, 0%, 44.7%)
CIE-LABlab(27.77, 41.84, -48.20)
CIE-LCHlch(27.77, 63.83, 310.96°)
OKLaboklab(39.58% 0.0776 -0.1375)
OKLCHoklch(39.58% 0.158 299.4)
XYZxyz(9.3116, 5.3719, 25.7404)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55288D #608D28
analogous
#282D8D #55288D #87288D
triadic
#55288D #8D5528 #288D55
tetradic
#55288D #8D282D #608D28 #288D87
square
#55288D #8D282D #608D28 #288D87
split-complementary
#55288D #8D8728 #2D8D28
monochromatic
#1C0D2E #381A5D #55288D #7236BD #915ED1

Accessibility & contrast

On white

10.12
#55288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#55288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55288D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55288D#FFFFFF#000000##FFFFFF
##55288D1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#484057
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #55288d;
/* rgb */ color: rgb(85, 40, 141);
/* oklch */ color: oklch(39.6% 0.158 299.4);
Tailwind
colors: {
  custom: {
    50: '#8a66af',
    500: '#55288d',
    950: '#000000',
  },
}
SCSS
$custom: #55288d;
$custom-light: #8a66af;
$custom-dark: #000000;
JSON
{
  "hex": "#55288d",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 266.733,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39584,
    "c": 0.1579,
    "h": 299.4
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#55288D
secondary
#8DB75A
accent
#DF499C
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55288D

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

Preview Lab → · Contrast checker → · Palette generator →

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