#552F8B#552F8B

#552F8B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.146 H 298.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#552F8B
RGBrgb(85, 47, 139)
HSLhsl(265, 49%, 36%)
HSVhsv(265, 66%, 55%)
CMYKcmyk(38.8%, 66.2%, 0%, 45.5%)
CIE-LABlab(28.98, 37.55, -45.01)
CIE-LCHlch(28.98, 58.61, 309.84°)
OKLaboklab(40.4% 0.07 -0.1281)
OKLCHoklch(40.4% 0.146 298.6)
XYZxyz(9.4219, 5.8283, 25.0497)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F8B #658B2F
analogous
#2F378B #552F8B #832F8B
triadic
#552F8B #8B552F #2F8B55
tetradic
#552F8B #8B2F37 #658B2F #2F8B83
square
#552F8B #8B2F37 #658B2F #2F8B83
split-complementary
#552F8B #8B832F #378B2F
monochromatic
#1D1030 #39205D #552F8B #713EB9 #9268CC

Accessibility & contrast

On white

9.70
#552F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#552F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F8B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F8B#FFFFFF#000000##FFFFFF
##552F8B1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#494458
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552f8b;
/* rgb */ color: rgb(85, 47, 139);
/* oklch */ color: oklch(40.4% 0.146 298.6);
Tailwind
colors: {
  custom: {
    50: '#896aae',
    500: '#552f8b',
    950: '#000000',
  },
}
SCSS
$custom: #552f8b;
$custom-light: #896aae;
$custom-dark: #000000;
JSON
{
  "hex": "#552f8b",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 264.783,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.14601,
    "h": 298.6
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#552F8B
secondary
#92B363
accent
#D94FA0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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