#552397#552397

#552397 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.175 H 297.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#552397
RGBrgb(85, 35, 151)
HSLhsl(266, 62%, 36%)
HSVhsv(266, 77%, 59%)
CMYKcmyk(43.7%, 76.8%, 0%, 40.8%)
CIE-LABlab(27.76, 46.90, -54.39)
CIE-LCHlch(27.76, 71.81, 310.77°)
OKLaboklab(39.84% 0.0803 -0.1557)
OKLCHoklch(39.84% 0.175 297.3)
XYZxyz(9.9318, 5.3675, 29.7849)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552397 #659723
analogous
#232B97 #552397 #8F2397
triadic
#552397 #975523 #239755
tetradic
#552397 #97232B #659723 #23978F
square
#552397 #97232B #659723 #23978F
split-complementary
#552397 #978F23 #2B9723
monochromatic
#1D0C34 #391765 #552397 #712FC9 #925BD9

Accessibility & contrast

On white

10.13
#552397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#552397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552397
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552397#FFFFFF#000000##FFFFFF
##5523971.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#44425C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552397;
/* rgb */ color: rgb(85, 35, 151);
/* oklch */ color: oklch(39.8% 0.175 297.3);
Tailwind
colors: {
  custom: {
    50: '#8b63b7',
    500: '#552397',
    950: '#000000',
  },
}
SCSS
$custom: #552397;
$custom-light: #8b63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#552397",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 265.862,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.17514,
    "h": 297.3
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#552397
secondary
#92BE58
accent
#E5429F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552397

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

Preview Lab → · Contrast checker → · Palette generator →

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