#552BA6#552BA6

#552BA6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.183 H 292.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#552BA6
RGBrgb(85, 43, 166)
HSLhsl(260, 59%, 41%)
HSVhsv(260, 74%, 65%)
CMYKcmyk(48.8%, 74.1%, 0%, 34.9%)
CIE-LABlab(30.43, 47.11, -59.14)
CIE-LCHlch(30.43, 75.61, 308.54°)
OKLaboklab(42.13% 0.0694 -0.1697)
OKLCHoklch(42.13% 0.183 292.3)
XYZxyz(11.4912, 6.4118, 36.7011)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BA6 #7CA62B
analogous
#2B3EA6 #552BA6 #922BA6
triadic
#552BA6 #A6552B #2BA655
tetradic
#552BA6 #A62B3E #7CA62B #2BA692
square
#552BA6 #A62B3E #7CA62B #2BA692
split-complementary
#552BA6 #A6922B #3EA62B
monochromatic
#231245 #3C1E75 #552BA6 #7141CE #9571DA

Accessibility & contrast

On white

9.20
#552BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#552BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BA6
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BA6#FFFFFF#000000##FFFFFF
##552BA61.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#3B4C66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552ba6;
/* rgb */ color: rgb(85, 43, 166);
/* oklch */ color: oklch(42.1% 0.183 292.3);
Tailwind
colors: {
  custom: {
    50: '#8d69c1',
    500: '#552ba6',
    950: '#000000',
  },
}
SCSS
$custom: #552ba6;
$custom-light: #8d69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#552ba6",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 260.488,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42127,
    "c": 0.18331,
    "h": 292.3
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#552BA6
secondary
#A4C16B
accent
#E246AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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