#55227D#55227D

#55227D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.147 H 306.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#55227D
RGBrgb(85, 34, 125)
HSLhsl(274, 57%, 31%)
HSVhsv(274, 73%, 49%)
CMYKcmyk(32%, 72.8%, 0%, 51%)
CIE-LABlab(25.43, 40.72, -41.98)
CIE-LCHlch(25.43, 58.48, 314.12°)
OKLaboklab(37.52% 0.0869 -0.1192)
OKLCHoklch(37.52% 0.147 306.1)
XYZxyz(8.0192, 4.5561, 19.8550)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55227D #4A7D22
analogous
#27227D #55227D #7D2277
triadic
#55227D #7D5522 #227D55
tetradic
#55227D #7D2722 #4A7D22 #22777D
square
#55227D #7D2722 #4A7D22 #22777D
split-complementary
#55227D #777D22 #227D27
monochromatic
#14081D #34154D #55227D #762FAD #954BCE

Accessibility & contrast

On white

10.99
#55227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55227D
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55227D#FFFFFF#000000##FFFFFF
##55227D1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#013D7B
Tritanopia (blue-blind)
#4E374D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55227d;
/* rgb */ color: rgb(85, 34, 125);
/* oklch */ color: oklch(37.5% 0.147 306.1);
Tailwind
colors: {
  custom: {
    50: '#8962a3',
    500: '#55227d',
    950: '#000000',
  },
}
SCSS
$custom: #55227d;
$custom-light: #8962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#55227d",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 273.626,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3752,
    "c": 0.14748,
    "h": 306.1
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#55227D
secondary
#77B04B
accent
#E0478B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55227D

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

Preview Lab → · Contrast checker → · Palette generator →

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