#552AD4#552AD4

#552AD4 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.236 H 284.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#552AD4
RGBrgb(85, 42, 212)
HSLhsl(255, 67%, 50%)
HSVhsv(255, 80%, 83%)
CMYKcmyk(59.9%, 80.2%, 0%, 16.9%)
CIE-LABlab(34.68, 60.22, -79.29)
CIE-LCHlch(34.68, 99.57, 307.21°)
OKLaboklab(46.43% 0.0569 -0.2286)
OKLCHoklch(46.43% 0.236 284)
XYZxyz(16.4543, 8.3396, 63.0172)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552AD4 #A9D42A
analogous
#2A54D4 #552AD4 #AA2AD4
triadic
#552AD4 #D4552A #2AD455
tetradic
#552AD4 #D42A54 #A9D42A #2AD4AA
square
#552AD4 #D42A54 #A9D42A #2AD4AA
split-complementary
#552AD4 #D4AA2A #54D42A
monochromatic
#2C166E #4120A1 #552AD4 #7D5CDF #A68FE9

Accessibility & contrast

On white

7.87
#552AD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#552AD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552AD4
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552AD4#FFFFFF#000000##FFFFFF
##552AD41.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#004CD1
Tritanopia (blue-blind)
#005E80
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #552ad4;
/* rgb */ color: rgb(85, 42, 212);
/* oklch */ color: oklch(46.4% 0.236 284.0);
Tailwind
colors: {
  custom: {
    50: '#946ae3',
    500: '#552ad4',
    950: '#000000',
  },
}
SCSS
$custom: #552ad4;
$custom-light: #946ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#552ad4",
  "rgb": {
    "r": 85,
    "g": 42,
    "b": 212
  },
  "hsl": {
    "h": 255.176,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46426,
    "c": 0.23557,
    "h": 284
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#552AD4
secondary
#C0D386
accent
#EA3EBE
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #552AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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