#552293#552293

#552293 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.172 H 298.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#552293
RGBrgb(85, 34, 147)
HSLhsl(267, 62%, 35%)
HSVhsv(267, 77%, 58%)
CMYKcmyk(42.2%, 76.9%, 0%, 42.4%)
CIE-LABlab(27.25, 46.31, -52.76)
CIE-LCHlch(27.25, 70.20, 311.28°)
OKLaboklab(39.37% 0.0822 -0.1509)
OKLCHoklch(39.37% 0.172 298.6)
XYZxyz(9.5835, 5.1818, 28.0934)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552293 #609322
analogous
#222793 #552293 #8D2293
triadic
#552293 #935522 #229355
tetradic
#552293 #932227 #609322 #22938D
square
#552293 #932227 #609322 #22938D
split-complementary
#552293 #938D22 #279322
monochromatic
#1C0B30 #381761 #552293 #722DC5 #9157D8

Accessibility & contrast

On white

10.31
#552293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#552293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552293
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552293#FFFFFF#000000##FFFFFF
##5522931.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#464059
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552293;
/* rgb */ color: rgb(85, 34, 147);
/* oklch */ color: oklch(39.4% 0.172 298.6);
Tailwind
colors: {
  custom: {
    50: '#8b63b4',
    500: '#552293',
    950: '#000000',
  },
}
SCSS
$custom: #552293;
$custom-light: #8b63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#552293",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 267.08,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.17182,
    "h": 298.6
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#552293
secondary
#8DBC55
accent
#E5429C
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #552293

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

Preview Lab → · Contrast checker → · Palette generator →

#552293 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva