#55228F#55228F

#55228F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.167 H 299.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#55228F
RGBrgb(85, 34, 143)
HSLhsl(268, 62%, 35%)
HSVhsv(268, 76%, 56%)
CMYKcmyk(40.6%, 76.2%, 0%, 43.9%)
CIE-LABlab(26.90, 45.28, -50.85)
CIE-LCHlch(26.90, 68.09, 311.68°)
OKLaboklab(39.02% 0.0832 -0.1453)
OKLCHoklch(39.02% 0.167 299.8)
XYZxyz(9.2750, 5.0584, 26.4690)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55228F #5C8F22
analogous
#22268F #55228F #8B228F
triadic
#55228F #8F5522 #228F55
tetradic
#55228F #8F2226 #5C8F22 #228F8B
square
#55228F #8F2226 #5C8F22 #228F8B
split-complementary
#55228F #8F8B22 #268F22
monochromatic
#1A0A2C #38165E #55228F #722EC0 #9255D7

Accessibility & contrast

On white

10.44
#55228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55228F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55228F#FFFFFF#000000##FFFFFF
##55228F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#473E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55228f;
/* rgb */ color: rgb(85, 34, 143);
/* oklch */ color: oklch(39.0% 0.167 299.8);
Tailwind
colors: {
  custom: {
    50: '#8b63b1',
    500: '#55228f',
    950: '#000000',
  },
}
SCSS
$custom: #55228f;
$custom-light: #8b63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#55228f",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 268.073,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3902,
    "c": 0.16742,
    "h": 299.8
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#55228F
secondary
#8ABA52
accent
#E54399
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #55228F

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

Preview Lab → · Contrast checker → · Palette generator →

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