#55227C#55227C

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

Color values

HEX#55227C
RGBrgb(85, 34, 124)
HSLhsl(274, 57%, 31%)
HSVhsv(274, 73%, 49%)
CMYKcmyk(31.5%, 72.6%, 0%, 51.4%)
CIE-LABlab(25.35, 40.47, -41.47)
CIE-LCHlch(25.35, 57.95, 314.30°)
OKLaboklab(37.44% 0.087 -0.1177)
OKLCHoklch(37.44% 0.146 306.5)
XYZxyz(7.9556, 4.5307, 19.5203)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55227C #497C22
analogous
#28227C #55227C #7C2276
triadic
#55227C #7C5522 #227C55
tetradic
#55227C #7C2822 #497C22 #22767C
square
#55227C #7C2822 #497C22 #22767C
split-complementary
#55227C #767C22 #227C28
monochromatic
#13081C #34154C #55227C #762FAC #954BCE

Accessibility & contrast

On white

11.02
#55227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#55227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55227C
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55227C#FFFFFF#000000##FFFFFF
##55227C1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#043C7A
Tritanopia (blue-blind)
#4E364C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55227c;
/* rgb */ color: rgb(85, 34, 124);
/* oklch */ color: oklch(37.4% 0.146 306.5);
Tailwind
colors: {
  custom: {
    50: '#8962a3',
    500: '#55227c',
    950: '#000000',
  },
}
SCSS
$custom: #55227c;
$custom-light: #8962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#55227c",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 274,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3744,
    "c": 0.14637,
    "h": 306.5
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#55227C
secondary
#76AF4B
accent
#E0488A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #55227C

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

Preview Lab → · Contrast checker → · Palette generator →

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