#55227B#55227B

#55227B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.145 H 306.9°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#55227B
RGBrgb(85, 34, 123)
HSLhsl(274, 57%, 31%)
HSVhsv(274, 72%, 48%)
CMYKcmyk(30.9%, 72.4%, 0%, 51.8%)
CIE-LABlab(25.28, 40.22, -40.96)
CIE-LCHlch(25.28, 57.41, 314.48°)
OKLaboklab(37.36% 0.0872 -0.1162)
OKLCHoklch(37.36% 0.145 306.9)
XYZxyz(7.8927, 4.5055, 19.1889)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55227B #487B22
analogous
#28227B #55227B #7B2274
triadic
#55227B #7B5522 #227B55
tetradic
#55227B #7B2822 #487B22 #22747B
square
#55227B #7B2822 #487B22 #22747B
split-complementary
#55227B #747B22 #227B28
monochromatic
#13071B #34154B #55227B #762FAB #954ACD

Accessibility & contrast

On white

11.05
#55227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#55227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55227B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55227B#FFFFFF#000000##FFFFFF
##55227B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#073C79
Tritanopia (blue-blind)
#4F364C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55227b;
/* rgb */ color: rgb(85, 34, 123);
/* oklch */ color: oklch(37.4% 0.145 306.9);
Tailwind
colors: {
  custom: {
    50: '#8962a2',
    500: '#55227b',
    950: '#000000',
  },
}
SCSS
$custom: #55227b;
$custom-light: #8962a2;
$custom-dark: #000000;
JSON
{
  "hex": "#55227b",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 274.382,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37361,
    "c": 0.14526,
    "h": 306.9
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#55227B
secondary
#75AE4B
accent
#E04889
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55227B

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

Preview Lab → · Contrast checker → · Palette generator →

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