#552795#552795

#552795 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.168 H 297.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#552795
RGBrgb(85, 39, 149)
HSLhsl(265, 59%, 37%)
HSVhsv(265, 74%, 58%)
CMYKcmyk(43%, 73.8%, 0%, 41.6%)
CIE-LABlab(28.25, 44.47, -52.35)
CIE-LCHlch(28.25, 68.69, 310.35°)
OKLaboklab(40.13% 0.077 -0.1497)
OKLCHoklch(40.13% 0.168 297.2)
XYZxyz(9.8952, 5.5521, 28.9783)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552795 #679527
analogous
#273095 #552795 #8C2795
triadic
#552795 #955527 #279555
tetradic
#552795 #952730 #679527 #27958C
square
#552795 #952730 #679527 #27958C
split-complementary
#552795 #958C27 #309527
monochromatic
#1E0E34 #391A64 #552795 #7134C6 #9261D6

Accessibility & contrast

On white

9.95
#552795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#552795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552795
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552795#FFFFFF#000000##FFFFFF
##5527951.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#45435B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552795;
/* rgb */ color: rgb(85, 39, 149);
/* oklch */ color: oklch(40.1% 0.168 297.2);
Tailwind
colors: {
  custom: {
    50: '#8b66b5',
    500: '#552795',
    950: '#000000',
  },
}
SCSS
$custom: #552795;
$custom-light: #8b66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#552795",
  "rgb": {
    "r": 85,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 265.091,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40134,
    "c": 0.16836,
    "h": 297.2
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#552795
secondary
#94BB5D
accent
#E246A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552795

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

Preview Lab → · Contrast checker → · Palette generator →

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