#552E94#552E94

#552E94 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.158 H 296.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#552E94
RGBrgb(85, 46, 148)
HSLhsl(263, 53%, 38%)
HSVhsv(263, 69%, 58%)
CMYKcmyk(42.6%, 68.9%, 0%, 42%)
CIE-LABlab(29.47, 40.57, -49.75)
CIE-LCHlch(29.47, 64.20, 309.20°)
OKLaboklab(40.98% 0.07 -0.1421)
OKLCHoklch(40.98% 0.158 296.2)
XYZxyz(10.0672, 6.0232, 28.6434)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552E94 #6D942E
analogous
#2E3A94 #552E94 #882E94
triadic
#552E94 #94552E #2E9455
tetradic
#552E94 #942E3A #6D942E #2E9488
square
#552E94 #942E3A #6D942E #2E9488
split-complementary
#552E94 #94882E #3A942E
monochromatic
#1F1137 #3A1F65 #552E94 #703DC3 #926BD1

Accessibility & contrast

On white

9.53
#552E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#552E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552E94
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552E94#FFFFFF#000000##FFFFFF
##552E941.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.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: #552e94;
/* rgb */ color: rgb(85, 46, 148);
/* oklch */ color: oklch(41.0% 0.158 296.2);
Tailwind
colors: {
  custom: {
    50: '#8a6ab4',
    500: '#552e94',
    950: '#000000',
  },
}
SCSS
$custom: #552e94;
$custom-light: #8a6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#552e94",
  "rgb": {
    "r": 85,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 262.941,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40976,
    "c": 0.1584,
    "h": 296.2
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#552E94
secondary
#99B866
accent
#DC4CA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #552E94

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

Preview Lab → · Contrast checker → · Palette generator →

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