#552697#552697

#552697 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.172 H 296.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#552697
RGBrgb(85, 38, 151)
HSLhsl(265, 60%, 37%)
HSVhsv(265, 75%, 59%)
CMYKcmyk(43.7%, 74.8%, 0%, 40.8%)
CIE-LABlab(28.25, 45.49, -53.58)
CIE-LCHlch(28.25, 70.28, 310.33°)
OKLaboklab(40.19% 0.0775 -0.1533)
OKLCHoklch(40.19% 0.172 296.8)
XYZxyz(10.0239, 5.5517, 29.8156)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552697 #689726
analogous
#263097 #552697 #8E2697
triadic
#552697 #975526 #269755
tetradic
#552697 #972630 #689726 #26978E
square
#552697 #972630 #689726 #26978E
split-complementary
#552697 #978E26 #309726
monochromatic
#1E0D35 #391A66 #552697 #7132C8 #9260D7

Accessibility & contrast

On white

9.95
#552697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#552697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552697
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552697#FFFFFF#000000##FFFFFF
##5526971.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#44435C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552697;
/* rgb */ color: rgb(85, 38, 151);
/* oklch */ color: oklch(40.2% 0.172 296.8);
Tailwind
colors: {
  custom: {
    50: '#8b65b6',
    500: '#552697',
    950: '#000000',
  },
}
SCSS
$custom: #552697;
$custom-light: #8b65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#552697",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 264.956,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.1718,
    "h": 296.8
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#552697
secondary
#94BC5C
accent
#E345A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552697

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

Preview Lab → · Contrast checker → · Palette generator →

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