#552688#552688

#552688 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.155 H 301.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#552688
RGBrgb(85, 38, 136)
HSLhsl(269, 56%, 34%)
HSVhsv(269, 72%, 53%)
CMYKcmyk(37.5%, 72.1%, 0%, 46.7%)
CIE-LABlab(27.00, 41.54, -46.34)
CIE-LCHlch(27.00, 62.23, 311.87°)
OKLaboklab(38.91% 0.0806 -0.132)
OKLCHoklch(38.91% 0.155 301.4)
XYZxyz(8.8823, 5.0950, 23.8033)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552688 #598826
analogous
#262888 #552688 #862688
triadic
#552688 #885526 #268855
tetradic
#552688 #882628 #598826 #268886
square
#552688 #882628 #598826 #268886
split-complementary
#552688 #888626 #288826
monochromatic
#190B28 #371958 #552688 #7333B8 #9258D0

Accessibility & contrast

On white

10.40
#552688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#552688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552688
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552688#FFFFFF#000000##FFFFFF
##5526881.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#4A3D54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552688;
/* rgb */ color: rgb(85, 38, 136);
/* oklch */ color: oklch(38.9% 0.155 301.4);
Tailwind
colors: {
  custom: {
    50: '#8a64ab',
    500: '#552688',
    950: '#000000',
  },
}
SCSS
$custom: #552688;
$custom-light: #8a64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552688",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 268.776,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38913,
    "c": 0.1547,
    "h": 301.4
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#552688
secondary
#87B555
accent
#E04897
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552688

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

Preview Lab → · Contrast checker → · Palette generator →

#552688 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva