#552896#552896

#552896 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.168 H 296.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#552896
RGBrgb(85, 40, 150)
HSLhsl(265, 58%, 37%)
HSVhsv(265, 73%, 59%)
CMYKcmyk(43.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(28.51, 44.24, -52.54)
CIE-LCHlch(28.51, 68.68, 310.10°)
OKLaboklab(40.35% 0.0758 -0.1503)
OKLCHoklch(40.35% 0.168 296.8)
XYZxyz(10.0087, 5.6507, 29.4116)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552896 #699628
analogous
#283296 #552896 #8C2896
triadic
#552896 #965528 #289655
tetradic
#552896 #962832 #699628 #28968C
square
#552896 #962832 #699628 #28968C
split-complementary
#552896 #968C28 #329628
monochromatic
#1E0E35 #3A1B66 #552896 #7035C6 #9263D5

Accessibility & contrast

On white

9.86
#552896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#552896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552896
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552896#FFFFFF#000000##FFFFFF
##5528961.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#44445C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552896;
/* rgb */ color: rgb(85, 40, 150);
/* oklch */ color: oklch(40.3% 0.168 296.8);
Tailwind
colors: {
  custom: {
    50: '#8b66b6',
    500: '#552896',
    950: '#000000',
  },
}
SCSS
$custom: #552896;
$custom-light: #8b66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#552896",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 264.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40345,
    "c": 0.16831,
    "h": 296.8
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#552896
secondary
#95BB5F
accent
#E147A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552896

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

Preview Lab → · Contrast checker → · Palette generator →

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