#55287D#55287D

#55287D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.139 H 305.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#55287D
RGBrgb(85, 40, 125)
HSLhsl(272, 52%, 32%)
HSVhsv(272, 68%, 49%)
CMYKcmyk(32%, 68%, 0%, 51%)
CIE-LABlab(26.53, 37.65, -40.20)
CIE-LCHlch(26.53, 55.08, 313.13°)
OKLaboklab(38.31% 0.0798 -0.114)
OKLCHoklch(38.31% 0.139 305)
XYZxyz(8.2060, 4.9296, 19.9173)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55287D #507D28
analogous
#2B287D #55287D #7D287A
triadic
#55287D #7D5528 #287D55
tetradic
#55287D #7D2B28 #507D28 #287A7D
square
#55287D #7D2B28 #507D28 #287A7D
split-complementary
#55287D #7A7D28 #287D2B
monochromatic
#160A20 #35194F #55287D #7537AB #9356C9

Accessibility & contrast

On white

10.57
#55287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#55287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55287D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55287D#FFFFFF#000000##FFFFFF
##55287D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#0F3F7B
Tritanopia (blue-blind)
#4E3A4F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55287d;
/* rgb */ color: rgb(85, 40, 125);
/* oklch */ color: oklch(38.3% 0.139 305.0);
Tailwind
colors: {
  custom: {
    50: '#8865a3',
    500: '#55287d',
    950: '#000000',
  },
}
SCSS
$custom: #55287d;
$custom-light: #8865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#55287d",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 271.765,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38309,
    "c": 0.13916,
    "h": 305
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#55287D
secondary
#7EAE53
accent
#DB4D90
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #55287D

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

Preview Lab → · Contrast checker → · Palette generator →

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