#55229F#55229F

#55229F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.185 H 295.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#55229F
RGBrgb(85, 34, 159)
HSLhsl(264, 65%, 38%)
HSVhsv(264, 79%, 62%)
CMYKcmyk(46.5%, 78.6%, 0%, 37.6%)
CIE-LABlab(28.32, 49.43, -58.35)
CIE-LCHlch(28.32, 76.47, 310.27°)
OKLaboklab(40.46% 0.0789 -0.1673)
OKLCHoklch(40.46% 0.185 295.2)
XYZxyz(10.5747, 5.5783, 33.3137)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55229F #6C9F22
analogous
#222D9F #55229F #93229F
triadic
#55229F #9F5522 #229F55
tetradic
#55229F #9F222D #6C9F22 #229F93
square
#55229F #9F222D #6C9F22 #229F93
split-complementary
#55229F #9F9322 #2D9F22
monochromatic
#1F0C3A #3A176D #55229F #702DD1 #925FDD

Accessibility & contrast

On white

9.93
#55229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#55229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55229F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55229F#FFFFFF#000000##FFFFFF
##55229F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#404560
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #55229f;
/* rgb */ color: rgb(85, 34, 159);
/* oklch */ color: oklch(40.5% 0.185 295.2);
Tailwind
colors: {
  custom: {
    50: '#8d63bc',
    500: '#55229f',
    950: '#000000',
  },
}
SCSS
$custom: #55229f;
$custom-light: #8d63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#55229f",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 264.48,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.18494,
    "h": 295.2
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#55229F
secondary
#98C15B
accent
#E840A3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55229F

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

Preview Lab → · Contrast checker → · Palette generator →

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