#55228B#55228B

#55228B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.163 H 301.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#55228B
RGBrgb(85, 34, 139)
HSLhsl(269, 61%, 34%)
HSVhsv(269, 76%, 55%)
CMYKcmyk(38.8%, 75.5%, 0%, 45.5%)
CIE-LABlab(26.56, 44.25, -48.93)
CIE-LCHlch(26.56, 65.97, 312.13°)
OKLaboklab(38.68% 0.0841 -0.1396)
OKLCHoklch(38.68% 0.163 301.1)
XYZxyz(8.9774, 4.9394, 24.9015)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55228B #588B22
analogous
#22238B #55228B #8A228B
triadic
#55228B #8B5522 #228B55
tetradic
#55228B #8B2223 #588B22 #228B8A
square
#55228B #8B2223 #588B22 #228B8A
split-complementary
#55228B #8B8A22 #238B22
monochromatic
#190A29 #37165A #55228B #732EBC #9253D5

Accessibility & contrast

On white

10.56
#55228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#55228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55228B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55228B#FFFFFF#000000##FFFFFF
##55228B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#493C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55228b;
/* rgb */ color: rgb(85, 34, 139);
/* oklch */ color: oklch(38.7% 0.163 301.1);
Tailwind
colors: {
  custom: {
    50: '#8a62ae',
    500: '#55228b',
    950: '#000000',
  },
}
SCSS
$custom: #55228b;
$custom-light: #8a62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55228b",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 269.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.163,
    "h": 301.1
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#55228B
secondary
#86B850
accent
#E44496
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #55228B

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

Preview Lab → · Contrast checker → · Palette generator →

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