#552EC3#552EC3

#552EC3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.213 H 286.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#552EC3
RGBrgb(85, 46, 195)
HSLhsl(256, 62%, 47%)
HSVhsv(256, 76%, 76%)
CMYKcmyk(56.4%, 76.4%, 0%, 23.5%)
CIE-LABlab(33.61, 53.74, -71.15)
CIE-LCHlch(33.61, 89.17, 307.06°)
OKLaboklab(45.18% 0.0595 -0.2049)
OKLCHoklch(45.18% 0.213 286.2)
XYZxyz(14.5707, 7.8246, 52.3617)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EC3 #9CC32E
analogous
#2E51C3 #552EC3 #A02EC3
triadic
#552EC3 #C3552E #2EC355
tetradic
#552EC3 #C32E51 #9CC32E #2EC3A0
square
#552EC3 #C32E51 #9CC32E #2EC3A0
split-complementary
#552EC3 #C3A02E #51C32E
monochromatic
#2A1760 #3F2291 #552EC3 #7857D7 #A088E3

Accessibility & contrast

On white

8.19
#552EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#552EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EC3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EC3#FFFFFF#000000##FFFFFF
##552EC31.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#205977
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #552ec3;
/* rgb */ color: rgb(85, 46, 195);
/* oklch */ color: oklch(45.2% 0.213 286.2);
Tailwind
colors: {
  custom: {
    50: '#916cd6',
    500: '#552ec3',
    950: '#000000',
  },
}
SCSS
$custom: #552ec3;
$custom-light: #916cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#552ec3",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 255.705,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45181,
    "c": 0.21334,
    "h": 286.2
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#552EC3
secondary
#B9CD80
accent
#E543BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #552EC3

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

Preview Lab → · Contrast checker → · Palette generator →

#552EC3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva