#552F95#552F95

#552F95 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.158 H 295.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#552F95
RGBrgb(85, 47, 149)
HSLhsl(262, 52%, 38%)
HSVhsv(262, 68%, 58%)
CMYKcmyk(43%, 68.5%, 0%, 41.6%)
CIE-LABlab(29.75, 40.31, -49.91)
CIE-LCHlch(29.75, 64.16, 308.92°)
OKLaboklab(41.2% 0.0688 -0.1426)
OKLCHoklch(41.2% 0.158 295.7)
XYZxyz(10.1862, 6.1340, 29.0752)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F95 #6F952F
analogous
#2F3C95 #552F95 #882F95
triadic
#552F95 #95552F #2F9555
tetradic
#552F95 #952F3C #6F952F #2F9588
square
#552F95 #952F3C #6F952F #2F9588
split-complementary
#552F95 #95882F #3C952F
monochromatic
#201238 #3A2066 #552F95 #703FC2 #926DD1

Accessibility & contrast

On white

9.43
#552F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552F95
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F95#FFFFFF#000000##FFFFFF
##552F951.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#44475E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #552f95;
/* rgb */ color: rgb(85, 47, 149);
/* oklch */ color: oklch(41.2% 0.158 295.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ab5',
    500: '#552f95',
    950: '#000000',
  },
}
SCSS
$custom: #552f95;
$custom-light: #8a6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#552f95",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 262.353,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.412,
    "c": 0.15829,
    "h": 295.7
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#552F95
secondary
#9AB867
accent
#DB4CA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #552F95

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

Preview Lab → · Contrast checker → · Palette generator →

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