#552D94#552D94

#552D94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.160 H 296.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#552D94
RGBrgb(85, 45, 148)
HSLhsl(263, 53%, 38%)
HSVhsv(263, 70%, 58%)
CMYKcmyk(42.6%, 69.6%, 0%, 42%)
CIE-LABlab(29.28, 41.11, -50.07)
CIE-LCHlch(29.28, 64.79, 309.39°)
OKLaboklab(40.84% 0.0711 -0.143)
OKLCHoklch(40.84% 0.16 296.4)
XYZxyz(10.0286, 5.9460, 28.6305)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552D94 #6C942D
analogous
#2D3894 #552D94 #882D94
triadic
#552D94 #94552D #2D9455
tetradic
#552D94 #942D38 #6C942D #2D9488
square
#552D94 #942D38 #6C942D #2D9488
split-complementary
#552D94 #94882D #38942D
monochromatic
#1F1036 #3A1F65 #552D94 #703BC3 #926AD2

Accessibility & contrast

On white

9.59
#552D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#552D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552D94
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552D94#FFFFFF#000000##FFFFFF
##552D941.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#45465D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #552d94;
/* rgb */ color: rgb(85, 45, 148);
/* oklch */ color: oklch(40.8% 0.160 296.4);
Tailwind
colors: {
  custom: {
    50: '#8a69b4',
    500: '#552d94',
    950: '#000000',
  },
}
SCSS
$custom: #552d94;
$custom-light: #8a69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#552d94",
  "rgb": {
    "r": 85,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 263.301,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.15971,
    "h": 296.4
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#552D94
secondary
#98B864
accent
#DD4BA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #552D94

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

Preview Lab → · Contrast checker → · Palette generator →

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