#552DD4#552DD4

#552DD4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.233 H 283.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#552DD4
RGBrgb(85, 45, 212)
HSLhsl(254, 66%, 50%)
HSVhsv(254, 79%, 83%)
CMYKcmyk(59.9%, 78.8%, 0%, 16.9%)
CIE-LABlab(35.12, 58.93, -78.56)
CIE-LCHlch(35.12, 98.20, 306.87°)
OKLaboklab(46.73% 0.0553 -0.2265)
OKLCHoklch(46.73% 0.233 283.7)
XYZxyz(16.5647, 8.5604, 63.0540)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552DD4 #ACD42D
analogous
#2D59D4 #552DD4 #A82DD4
triadic
#552DD4 #D4552D #2DD455
tetradic
#552DD4 #D42D59 #ACD42D #2DD4A8
square
#552DD4 #D42D59 #ACD42D #2DD4A8
split-complementary
#552DD4 #D4A82D #59D42D
monochromatic
#2C1770 #4021A3 #552DD4 #7E60DE #A793E9

Accessibility & contrast

On white

7.74
#552DD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#552DD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552DD4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552DD4#FFFFFF#000000##FFFFFF
##552DD41.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#004DD1
Tritanopia (blue-blind)
#005F81
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #552dd4;
/* rgb */ color: rgb(85, 45, 212);
/* oklch */ color: oklch(46.7% 0.233 283.7);
Tailwind
colors: {
  custom: {
    50: '#946ce3',
    500: '#552dd4',
    950: '#000000',
  },
}
SCSS
$custom: #552dd4;
$custom-light: #946ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#552dd4",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 212
  },
  "hsl": {
    "h": 254.371,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46733,
    "c": 0.23314,
    "h": 283.7
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#552DD4
secondary
#C2D489
accent
#E93FC0
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #552DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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