#552895#552895

#552895 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.167 H 297.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#552895
RGBrgb(85, 40, 149)
HSLhsl(265, 58%, 37%)
HSVhsv(265, 73%, 58%)
CMYKcmyk(43%, 73.2%, 0%, 41.6%)
CIE-LABlab(28.43, 43.97, -52.06)
CIE-LCHlch(28.43, 68.15, 310.19°)
OKLaboklab(40.26% 0.0761 -0.1489)
OKLCHoklch(40.26% 0.167 297.1)
XYZxyz(9.9285, 5.6186, 28.9893)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552895 #689528
analogous
#283195 #552895 #8C2895
triadic
#552895 #955528 #289555
tetradic
#552895 #952831 #689528 #28958C
square
#552895 #952831 #689528 #28958C
split-complementary
#552895 #958C28 #319528
monochromatic
#1E0E35 #391B65 #552895 #7135C5 #9262D5

Accessibility & contrast

On white

9.89
#552895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#552895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552895
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552895#FFFFFF#000000##FFFFFF
##5528951.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#45445C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552895;
/* rgb */ color: rgb(85, 40, 149);
/* oklch */ color: oklch(40.3% 0.167 297.1);
Tailwind
colors: {
  custom: {
    50: '#8b66b5',
    500: '#552895',
    950: '#000000',
  },
}
SCSS
$custom: #552895;
$custom-light: #8b66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#552895",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 264.771,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.16716,
    "h": 297.1
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#552895
secondary
#94BB5E
accent
#E147A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552895

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

Preview Lab → · Contrast checker → · Palette generator →

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