#552182#552182

#552182 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.154 H 304.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#552182
RGBrgb(85, 33, 130)
HSLhsl(272, 60%, 32%)
HSVhsv(272, 75%, 51%)
CMYKcmyk(34.6%, 74.6%, 0%, 49%)
CIE-LABlab(25.66, 42.44, -44.77)
CIE-LCHlch(25.66, 61.69, 313.47°)
OKLaboklab(37.8% 0.0871 -0.1274)
OKLCHoklch(37.8% 0.154 304.3)
XYZxyz(8.3185, 4.6307, 21.5704)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552182 #4E8221
analogous
#252182 #552182 #82217F
triadic
#552182 #825521 #218255
tetradic
#552182 #822521 #4E8221 #217F82
square
#552182 #822521 #4E8221 #217F82
split-complementary
#552182 #7F8221 #218225
monochromatic
#150820 #351551 #552182 #752DB3 #944CD2

Accessibility & contrast

On white

10.90
#552182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#552182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552182
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552182#FFFFFF#000000##FFFFFF
##5521821.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#4C384F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #552182;
/* rgb */ color: rgb(85, 33, 130);
/* oklch */ color: oklch(37.8% 0.154 304.3);
Tailwind
colors: {
  custom: {
    50: '#8961a7',
    500: '#552182',
    950: '#000000',
  },
}
SCSS
$custom: #552182;
$custom-light: #8961a7;
$custom-dark: #000000;
JSON
{
  "hex": "#552182",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 272.165,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37804,
    "c": 0.15429,
    "h": 304.3
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#552182
secondary
#7CB44A
accent
#E3458E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #552182

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

Preview Lab → · Contrast checker → · Palette generator →

#552182 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva