#552EBA#552EBA

#552EBA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.203 H 287.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#552EBA
RGBrgb(85, 46, 186)
HSLhsl(257, 60%, 45%)
HSVhsv(257, 75%, 73%)
CMYKcmyk(54.3%, 75.3%, 0%, 27.1%)
CIE-LABlab(32.77, 51.22, -67.25)
CIE-LCHlch(32.77, 84.53, 307.29°)
OKLaboklab(44.33% 0.0619 -0.1934)
OKLCHoklch(44.33% 0.203 287.8)
XYZxyz(13.5836, 7.4298, 47.1632)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552EBA #93BA2E
analogous
#2E4DBA #552EBA #9B2EBA
triadic
#552EBA #BA552E #2EBA55
tetradic
#552EBA #BA2E4D #93BA2E #2EBA9B
square
#552EBA #BA2E4D #93BA2E #2EBA9B
split-complementary
#552EBA #BA9B2E #4DBA2E
monochromatic
#281658 #3F2289 #552EBA #7651D4 #9C82E0

Accessibility & contrast

On white

8.45
#552EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#552EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552EBA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552EBA#FFFFFF#000000##FFFFFF
##552EBA1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#2B5572
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #552eba;
/* rgb */ color: rgb(85, 46, 186);
/* oklch */ color: oklch(44.3% 0.203 287.8);
Tailwind
colors: {
  custom: {
    50: '#906bd0',
    500: '#552eba',
    950: '#000000',
  },
}
SCSS
$custom: #552eba;
$custom-light: #906bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#552eba",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 256.714,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44329,
    "c": 0.20311,
    "h": 287.8
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#552EBA
secondary
#B3C97B
accent
#E344B7
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #552EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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