#55228C#55228C

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

Color values

HEX#55228C
RGBrgb(85, 34, 140)
HSLhsl(269, 61%, 34%)
HSVhsv(269, 76%, 55%)
CMYKcmyk(39.3%, 75.7%, 0%, 45.1%)
CIE-LABlab(26.65, 44.51, -49.41)
CIE-LCHlch(26.65, 66.50, 312.01°)
OKLaboklab(38.76% 0.0839 -0.141)
OKLCHoklch(38.76% 0.164 300.8)
XYZxyz(9.0508, 4.9687, 25.2881)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55228C #598C22
analogous
#22248C #55228C #8A228C
triadic
#55228C #8C5522 #228C55
tetradic
#55228C #8C2224 #598C22 #228C8A
square
#55228C #8C2224 #598C22 #228C8A
split-complementary
#55228C #8C8A22 #248C22
monochromatic
#190A2A #37165B #55228C #732EBD #9253D5

Accessibility & contrast

On white

10.53
#55228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55228C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55228C#FFFFFF#000000##FFFFFF
##55228C1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#493D55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55228c;
/* rgb */ color: rgb(85, 34, 140);
/* oklch */ color: oklch(38.8% 0.164 300.8);
Tailwind
colors: {
  custom: {
    50: '#8a62ae',
    500: '#55228c',
    950: '#000000',
  },
}
SCSS
$custom: #55228c;
$custom-light: #8a62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55228c",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 268.868,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.1641,
    "h": 300.8
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#55228C
secondary
#87B951
accent
#E44497
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #55228C

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

Preview Lab → · Contrast checker → · Palette generator →

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