#552BA7#552BA7

#552BA7 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.184 H 292.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#552BA7
RGBrgb(85, 43, 167)
HSLhsl(260, 59%, 41%)
HSVhsv(260, 74%, 65%)
CMYKcmyk(49.1%, 74.3%, 0%, 34.5%)
CIE-LABlab(30.52, 47.39, -59.60)
CIE-LCHlch(30.52, 76.14, 308.49°)
OKLaboklab(42.22% 0.0692 -0.171)
OKLCHoklch(42.22% 0.184 292)
XYZxyz(11.5833, 6.4486, 37.1861)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BA7 #7DA72B
analogous
#2B3FA7 #552BA7 #932BA7
triadic
#552BA7 #A7552B #2BA755
tetradic
#552BA7 #A72B3F #7DA72B #2BA793
square
#552BA7 #A72B3F #7DA72B #2BA793
split-complementary
#552BA7 #A7932B #3FA72B
monochromatic
#231246 #3C1E76 #552BA7 #7141CE #9572DB

Accessibility & contrast

On white

9.17
#552BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#552BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BA7
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BA7#FFFFFF#000000##FFFFFF
##552BA71.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#3B4C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552ba7;
/* rgb */ color: rgb(85, 43, 167);
/* oklch */ color: oklch(42.2% 0.184 292.0);
Tailwind
colors: {
  custom: {
    50: '#8d69c2',
    500: '#552ba7',
    950: '#000000',
  },
}
SCSS
$custom: #552ba7;
$custom-light: #8d69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#552ba7",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 260.323,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42217,
    "c": 0.18446,
    "h": 292
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#552BA7
secondary
#A5C26C
accent
#E246AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #552BA7

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

Preview Lab → · Contrast checker → · Palette generator →

#552BA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva