#552597#552597

#552597 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.173 H 297.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#552597
RGBrgb(85, 37, 151)
HSLhsl(265, 61%, 37%)
HSVhsv(265, 75%, 59%)
CMYKcmyk(43.7%, 75.5%, 0%, 40.8%)
CIE-LABlab(28.08, 45.97, -53.85)
CIE-LCHlch(28.08, 70.80, 310.48°)
OKLaboklab(40.07% 0.0785 -0.1541)
OKLCHoklch(40.07% 0.173 297)
XYZxyz(9.9923, 5.4886, 29.8051)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552597 #679725
analogous
#252E97 #552597 #8E2597
triadic
#552597 #975525 #259755
tetradic
#552597 #97252E #679725 #25978E
square
#552597 #97252E #679725 #25978E
split-complementary
#552597 #978E25 #2E9725
monochromatic
#1E0D35 #391966 #552597 #7131C8 #925FD8

Accessibility & contrast

On white

10.01
#552597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#552597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552597
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552597#FFFFFF#000000##FFFFFF
##5525971.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#44435C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552597;
/* rgb */ color: rgb(85, 37, 151);
/* oklch */ color: oklch(40.1% 0.173 297.0);
Tailwind
colors: {
  custom: {
    50: '#8b65b7',
    500: '#552597',
    950: '#000000',
  },
}
SCSS
$custom: #552597;
$custom-light: #8b65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552597",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 265.263,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.17293,
    "h": 297
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#552597
secondary
#94BD5B
accent
#E444A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552597

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

Preview Lab → · Contrast checker → · Palette generator →

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