#55228E#55228E

#55228E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.166 H 300.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#55228E
RGBrgb(85, 34, 142)
HSLhsl(268, 61%, 35%)
HSVhsv(268, 76%, 56%)
CMYKcmyk(40.1%, 76.1%, 0%, 44.3%)
CIE-LABlab(26.82, 45.02, -50.37)
CIE-LCHlch(26.82, 67.56, 311.79°)
OKLaboklab(38.93% 0.0834 -0.1439)
OKLCHoklch(38.93% 0.166 300.1)
XYZxyz(9.1996, 5.0283, 26.0718)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55228E #5B8E22
analogous
#22258E #55228E #8B228E
triadic
#55228E #8E5522 #228E55
tetradic
#55228E #8E2225 #5B8E22 #228E8B
square
#55228E #8E2225 #5B8E22 #228E8B
split-complementary
#55228E #8E8B22 #258E22
monochromatic
#1A0A2B #37165D #55228E #732EBF #9254D6

Accessibility & contrast

On white

10.47
#55228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#55228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55228E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55228E#FFFFFF#000000##FFFFFF
##55228E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#483E56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55228e;
/* rgb */ color: rgb(85, 34, 142);
/* oklch */ color: oklch(38.9% 0.166 300.1);
Tailwind
colors: {
  custom: {
    50: '#8b63b0',
    500: '#55228e',
    950: '#000000',
  },
}
SCSS
$custom: #55228e;
$custom-light: #8b63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#55228e",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 268.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38934,
    "c": 0.16632,
    "h": 300.1
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#55228E
secondary
#89BA52
accent
#E44398
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #55228E

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

Preview Lab → · Contrast checker → · Palette generator →

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