#552185#552185

#552185 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.158 H 303.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#552185
RGBrgb(85, 33, 133)
HSLhsl(271, 60%, 33%)
HSVhsv(271, 75%, 52%)
CMYKcmyk(36.1%, 75.2%, 0%, 47.8%)
CIE-LABlab(25.90, 43.19, -46.26)
CIE-LCHlch(25.90, 63.29, 313.04°)
OKLaboklab(38.05% 0.0864 -0.1318)
OKLCHoklch(38.05% 0.158 303.3)
XYZxyz(8.5228, 4.7125, 22.6463)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552185 #518521
analogous
#232185 #552185 #852183
triadic
#552185 #855521 #218555
tetradic
#552185 #852321 #518521 #218385
square
#552185 #852321 #518521 #218385
split-complementary
#552185 #838521 #218523
monochromatic
#160923 #361554 #552185 #742DB6 #934DD3

Accessibility & contrast

On white

10.81
#552185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#552185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552185
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552185#FFFFFF#000000##FFFFFF
##5521851.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#4B3A51
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #552185;
/* rgb */ color: rgb(85, 33, 133);
/* oklch */ color: oklch(38.1% 0.158 303.3);
Tailwind
colors: {
  custom: {
    50: '#8a62a9',
    500: '#552185',
    950: '#000000',
  },
}
SCSS
$custom: #552185;
$custom-light: #8a62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#552185",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 271.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38053,
    "c": 0.15758,
    "h": 303.3
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#552185
secondary
#7FB64C
accent
#E34491
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552185

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

Preview Lab → · Contrast checker → · Palette generator →

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