#552E8D#552E8D

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

Color values

HEX#552E8D
RGBrgb(85, 46, 141)
HSLhsl(265, 51%, 37%)
HSVhsv(265, 67%, 55%)
CMYKcmyk(39.7%, 67.4%, 0%, 44.7%)
CIE-LABlab(28.92, 38.65, -46.33)
CIE-LCHlch(28.92, 60.33, 309.84°)
OKLaboklab(40.41% 0.0709 -0.132)
OKLCHoklch(40.41% 0.15 298.2)
XYZxyz(9.5298, 5.8082, 25.8132)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E8D #668D2E
analogous
#2E368D #552E8D #852E8D
triadic
#552E8D #8D552E #2E8D55
tetradic
#552E8D #8D2E36 #668D2E #2E8D85
square
#552E8D #8D2E36 #668D2E #2E8D85
split-complementary
#552E8D #8D852E #368D2E
monochromatic
#1D1031 #391F5F #552E8D #713DBB #9268CE

Accessibility & contrast

On white

9.72
#552E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#552E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E8D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E8D#FFFFFF#000000##FFFFFF
##552E8D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#484459
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552e8d;
/* rgb */ color: rgb(85, 46, 141);
/* oklch */ color: oklch(40.4% 0.150 298.2);
Tailwind
colors: {
  custom: {
    50: '#8a69af',
    500: '#552e8d',
    950: '#000000',
  },
}
SCSS
$custom: #552e8d;
$custom-light: #8a69af;
$custom-dark: #000000;
JSON
{
  "hex": "#552e8d",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 264.632,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4041,
    "c": 0.14988,
    "h": 298.2
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#552E8D
secondary
#93B562
accent
#DA4EA0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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