#552E78#552E78

#552E78 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.124 H 305.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#552E78
RGBrgb(85, 46, 120)
HSLhsl(272, 45%, 33%)
HSVhsv(272, 62%, 47%)
CMYKcmyk(29.2%, 61.7%, 0%, 52.9%)
CIE-LABlab(27.41, 33.03, -35.63)
CIE-LCHlch(27.41, 48.58, 312.83°)
OKLaboklab(38.83% 0.0723 -0.1006)
OKLCHoklch(38.83% 0.124 305.7)
XYZxyz(8.1127, 5.2414, 18.3500)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E78 #51782E
analogous
#302E78 #552E78 #782E76
triadic
#552E78 #78552E #2E7855
tetradic
#552E78 #78302E #51782E #2E7678
square
#552E78 #78302E #51782E #2E7678
split-complementary
#552E78 #76782E #2E7830
monochromatic
#160C20 #361D4C #552E78 #743FA4 #935FC2

Accessibility & contrast

On white

10.25
#552E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#552E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E78
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E78#FFFFFF#000000##FFFFFF
##552E781.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407A
Deuteranopia (green-blind)
#1F4176
Tritanopia (blue-blind)
#4F3D4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #552e78;
/* rgb */ color: rgb(85, 46, 120);
/* oklch */ color: oklch(38.8% 0.124 305.7);
Tailwind
colors: {
  custom: {
    50: '#88699f',
    500: '#552e78',
    950: '#000000',
  },
}
SCSS
$custom: #552e78;
$custom-light: #88699f;
$custom-dark: #000000;
JSON
{
  "hex": "#552e78",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 271.622,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38834,
    "c": 0.12388,
    "h": 305.7
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#552E78
secondary
#7FA85A
accent
#D45490
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #552E78

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

Preview Lab → · Contrast checker → · Palette generator →

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