#552F94#552F94

#552F94 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.157 H 296.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#552F94
RGBrgb(85, 47, 148)
HSLhsl(263, 52%, 38%)
HSVhsv(263, 68%, 58%)
CMYKcmyk(42.6%, 68.2%, 0%, 42%)
CIE-LABlab(29.67, 40.03, -49.43)
CIE-LCHlch(29.67, 63.61, 309.00°)
OKLaboklab(41.12% 0.0689 -0.1412)
OKLCHoklch(41.12% 0.157 296)
XYZxyz(10.1067, 6.1022, 28.6566)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F94 #6E942F
analogous
#2F3B94 #552F94 #872F94
triadic
#552F94 #94552F #2F9455
tetradic
#552F94 #942F3B #6E942F #2F9487
square
#552F94 #942F3B #6E942F #2F9487
split-complementary
#552F94 #94872F #3B942F
monochromatic
#201137 #3A2066 #552F94 #703EC2 #926DD1

Accessibility & contrast

On white

9.46
#552F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#552F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F94
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F94#FFFFFF#000000##FFFFFF
##552F941.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#45475D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #552f94;
/* rgb */ color: rgb(85, 47, 148);
/* oklch */ color: oklch(41.1% 0.157 296.0);
Tailwind
colors: {
  custom: {
    50: '#8a6ab4',
    500: '#552f94',
    950: '#000000',
  },
}
SCSS
$custom: #552f94;
$custom-light: #8a6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#552f94",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 262.574,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41118,
    "c": 0.15707,
    "h": 296
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#552F94
secondary
#99B867
accent
#DB4DA6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #552F94

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

Preview Lab → · Contrast checker → · Palette generator →

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