#552085#552085

#552085 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.159 H 303.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#552085
RGBrgb(85, 32, 133)
HSLhsl(271, 61%, 32%)
HSVhsv(271, 76%, 52%)
CMYKcmyk(36.1%, 75.9%, 0%, 47.8%)
CIE-LABlab(25.74, 43.66, -46.52)
CIE-LCHlch(25.74, 63.80, 313.18°)
OKLaboklab(37.94% 0.0875 -0.1325)
OKLCHoklch(37.94% 0.159 303.4)
XYZxyz(8.4955, 4.6578, 22.6372)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552085 #508520
analogous
#222085 #552085 #852083
triadic
#552085 #855520 #208555
tetradic
#552085 #852220 #508520 #208385
square
#552085 #852220 #508520 #208385
split-complementary
#552085 #838520 #208522
monochromatic
#160822 #351454 #552085 #752CB6 #934CD4

Accessibility & contrast

On white

10.87
#552085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552085
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552085#FFFFFF#000000##FFFFFF
##5520851.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552085;
/* rgb */ color: rgb(85, 32, 133);
/* oklch */ color: oklch(37.9% 0.159 303.4);
Tailwind
colors: {
  custom: {
    50: '#8a61a9',
    500: '#552085',
    950: '#000000',
  },
}
SCSS
$custom: #552085;
$custom-light: #8a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#552085",
  "rgb": {
    "r": 85,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 271.485,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37938,
    "c": 0.15878,
    "h": 303.4
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#552085
secondary
#7EB74A
accent
#E44390
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #552085

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

Preview Lab → · Contrast checker → · Palette generator →

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