#55228D#55228D

#55228D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.165 H 300.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#55228D
RGBrgb(85, 34, 141)
HSLhsl(269, 61%, 34%)
HSVhsv(269, 76%, 55%)
CMYKcmyk(39.7%, 75.9%, 0%, 44.7%)
CIE-LABlab(26.73, 44.76, -49.89)
CIE-LCHlch(26.73, 67.03, 311.90°)
OKLaboklab(38.85% 0.0837 -0.1424)
OKLCHoklch(38.85% 0.165 300.4)
XYZxyz(9.1249, 4.9984, 25.6782)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55228D #5A8D22
analogous
#22258D #55228D #8B228D
triadic
#55228D #8D5522 #228D55
tetradic
#55228D #8D2225 #5A8D22 #228D8B
square
#55228D #8D2225 #5A8D22 #228D8B
split-complementary
#55228D #8D8B22 #258D22
monochromatic
#1A0A2A #37165C #55228D #732EBE #9254D6

Accessibility & contrast

On white

10.50
#55228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#55228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55228D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55228D#FFFFFF#000000##FFFFFF
##55228D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#483D56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55228d;
/* rgb */ color: rgb(85, 34, 141);
/* oklch */ color: oklch(38.8% 0.165 300.4);
Tailwind
colors: {
  custom: {
    50: '#8a62af',
    500: '#55228d',
    950: '#000000',
  },
}
SCSS
$custom: #55228d;
$custom-light: #8a62af;
$custom-dark: #000000;
JSON
{
  "hex": "#55228d",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 268.598,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.16521,
    "h": 300.4
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#55228D
secondary
#88B951
accent
#E44498
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #55228D

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

Preview Lab → · Contrast checker → · Palette generator →

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