#552FB7#552FB7

#552FB7 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.199 H 288.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#552FB7
RGBrgb(85, 47, 183)
HSLhsl(257, 59%, 45%)
HSVhsv(257, 74%, 72%)
CMYKcmyk(53.6%, 74.3%, 0%, 28.2%)
CIE-LABlab(32.66, 49.88, -65.64)
CIE-LCHlch(32.66, 82.44, 307.23°)
OKLaboklab(44.17% 0.0619 -0.1887)
OKLCHoklch(44.17% 0.199 288.2)
XYZxyz(13.3076, 7.3826, 45.5143)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FB7 #91B72F
analogous
#2F4DB7 #552FB7 #992FB7
triadic
#552FB7 #B7552F #2FB755
tetradic
#552FB7 #B72F4D #91B72F #2FB799
square
#552FB7 #B72F4D #91B72F #2FB799
split-complementary
#552FB7 #B7992F #4DB72F
monochromatic
#281656 #3E2286 #552FB7 #7551D2 #9C82DF

Accessibility & contrast

On white

8.48
#552FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#552FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FB7
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FB7#FFFFFF#000000##FFFFFF
##552FB71.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#2E5471
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #552fb7;
/* rgb */ color: rgb(85, 47, 183);
/* oklch */ color: oklch(44.2% 0.199 288.2);
Tailwind
colors: {
  custom: {
    50: '#8f6cce',
    500: '#552fb7',
    950: '#000000',
  },
}
SCSS
$custom: #552fb7;
$custom-light: #8f6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#552fb7",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 256.765,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.19864,
    "h": 288.2
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#552FB7
secondary
#B2C87A
accent
#E245B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #552FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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