#55229B#55229B

#55229B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.181 H 296.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#55229B
RGBrgb(85, 34, 155)
HSLhsl(265, 64%, 37%)
HSVhsv(265, 78%, 61%)
CMYKcmyk(45.2%, 78.1%, 0%, 39.2%)
CIE-LABlab(27.96, 48.39, -56.51)
CIE-LCHlch(27.96, 74.40, 310.57°)
OKLaboklab(40.09% 0.08 -0.1619)
OKLCHoklch(40.09% 0.181 296.3)
XYZxyz(10.2332, 5.4417, 31.5152)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55229B #689B22
analogous
#222C9B #55229B #92229B
triadic
#55229B #9B5522 #229B55
tetradic
#55229B #9B222C #689B22 #229B92
square
#55229B #9B222C #689B22 #229B92
split-complementary
#55229B #9B9222 #2C9B22
monochromatic
#1E0C37 #391769 #55229B #712DCD #925CDB

Accessibility & contrast

On white

10.06
#55229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#55229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55229B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55229B#FFFFFF#000000##FFFFFF
##55229B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#42435E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #55229b;
/* rgb */ color: rgb(85, 34, 155);
/* oklch */ color: oklch(40.1% 0.181 296.3);
Tailwind
colors: {
  custom: {
    50: '#8c63b9',
    500: '#55229b',
    950: '#000000',
  },
}
SCSS
$custom: #55229b;
$custom-light: #8c63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55229b",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 265.289,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.18058,
    "h": 296.3
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#55229B
secondary
#94C059
accent
#E741A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55229B

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

Preview Lab → · Contrast checker → · Palette generator →

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