#552BA8#552BA8

#552BA8 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.186 H 291.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#552BA8
RGBrgb(85, 43, 168)
HSLhsl(260, 59%, 41%)
HSVhsv(260, 74%, 66%)
CMYKcmyk(49.4%, 74.4%, 0%, 34.1%)
CIE-LABlab(30.61, 47.67, -60.05)
CIE-LCHlch(30.61, 76.67, 308.44°)
OKLaboklab(42.31% 0.0689 -0.1723)
OKLCHoklch(42.31% 0.186 291.8)
XYZxyz(11.6761, 6.4858, 37.6749)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552BA8 #7EA82B
analogous
#2B40A8 #552BA8 #942BA8
triadic
#552BA8 #A8552B #2BA855
tetradic
#552BA8 #A82B40 #7EA82B #2BA894
square
#552BA8 #A82B40 #7EA82B #2BA894
split-complementary
#552BA8 #A8942B #40A82B
monochromatic
#241247 #3C1F77 #552BA8 #7142CF #9672DB

Accessibility & contrast

On white

9.14
#552BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#552BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552BA8
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552BA8#FFFFFF#000000##FFFFFF
##552BA81.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#3A4C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552ba8;
/* rgb */ color: rgb(85, 43, 168);
/* oklch */ color: oklch(42.3% 0.186 291.8);
Tailwind
colors: {
  custom: {
    50: '#8d69c3',
    500: '#552ba8',
    950: '#000000',
  },
}
SCSS
$custom: #552ba8;
$custom-light: #8d69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#552ba8",
  "rgb": {
    "r": 85,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 260.16,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.18561,
    "h": 291.8
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#552BA8
secondary
#A5C26C
accent
#E245AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #552BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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