#552B9F#552B9F

#552B9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.175 H 293.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#552B9F
RGBrgb(85, 43, 159)
HSLhsl(262, 57%, 40%)
HSVhsv(262, 73%, 62%)
CMYKcmyk(46.5%, 73%, 0%, 37.6%)
CIE-LABlab(29.82, 45.18, -55.90)
CIE-LCHlch(29.82, 71.88, 308.95°)
OKLaboklab(41.51% 0.071 -0.1602)
OKLCHoklch(41.51% 0.175 293.9)
XYZxyz(10.8665, 6.1619, 33.4110)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552B9F #759F2B
analogous
#2B3B9F #552B9F #8F2B9F
triadic
#552B9F #9F552B #2B9F55
tetradic
#552B9F #9F2B3B #759F2B #2B9F8F
square
#552B9F #9F2B3B #759F2B #2B9F8F
split-complementary
#552B9F #9F8F2B #3B9F2B
monochromatic
#21113F #3B1E6F #552B9F #703DCA #936DD7

Accessibility & contrast

On white

9.41
#552B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#552B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552B9F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552B9F#FFFFFF#000000##FFFFFF
##552B9F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#3F4962
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #552b9f;
/* rgb */ color: rgb(85, 43, 159);
/* oklch */ color: oklch(41.5% 0.175 293.9);
Tailwind
colors: {
  custom: {
    50: '#8c68bc',
    500: '#552b9f',
    950: '#000000',
  },
}
SCSS
$custom: #552b9f;
$custom-light: #8c68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#552b9f",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 261.724,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.1752,
    "h": 293.9
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#552B9F
secondary
#9FBE67
accent
#E147A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #552B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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