#552FB1#552FB1

#552FB1 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.192 H 289.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#552FB1
RGBrgb(85, 47, 177)
HSLhsl(258, 58%, 44%)
HSVhsv(258, 73%, 69%)
CMYKcmyk(52%, 73.4%, 0%, 30.6%)
CIE-LABlab(32.12, 48.18, -62.96)
CIE-LCHlch(32.12, 79.28, 307.42°)
OKLaboklab(43.62% 0.0634 -0.1809)
OKLCHoklch(43.62% 0.192 289.3)
XYZxyz(12.6963, 7.1381, 42.2952)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FB1 #8BB12F
analogous
#2F4AB1 #552FB1 #962FB1
triadic
#552FB1 #B1552F #2FB155
tetradic
#552FB1 #B12F4A #8BB12F #2FB196
square
#552FB1 #B12F4A #8BB12F #2FB196
split-complementary
#552FB1 #B1962F #4AB12F
monochromatic
#271550 #3E2281 #552FB1 #744DD0 #997EDD

Accessibility & contrast

On white

8.65
#552FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#552FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FB1
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FB1#FFFFFF#000000##FFFFFF
##552FB11.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#33526D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #552fb1;
/* rgb */ color: rgb(85, 47, 177);
/* oklch */ color: oklch(43.6% 0.192 289.3);
Tailwind
colors: {
  custom: {
    50: '#8e6bc9',
    500: '#552fb1',
    950: '#000000',
  },
}
SCSS
$custom: #552fb1;
$custom-light: #8e6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#552fb1",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 257.538,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43622,
    "c": 0.19167,
    "h": 289.3
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#552FB1
secondary
#AEC576
accent
#E147B4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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