#552074#552074

#552074 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.140 H 310.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#552074
RGBrgb(85, 32, 116)
HSLhsl(278, 57%, 29%)
HSVhsv(278, 72%, 45%)
CMYKcmyk(26.7%, 72.4%, 0%, 54.5%)
CIE-LABlab(24.40, 39.49, -37.92)
CIE-LCHlch(24.40, 54.75, 316.17°)
OKLaboklab(36.57% 0.0904 -0.1072)
OKLCHoklch(36.57% 0.14 310.1)
XYZxyz(7.4146, 4.2254, 16.9446)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552074 #3F7420
analogous
#2B2074 #552074 #742069
triadic
#552074 #745520 #207455
tetradic
#552074 #742B20 #3F7420 #206974
square
#552074 #742B20 #3F7420 #206974
split-complementary
#552074 #697420 #20742B
monochromatic
#120718 #321344 #552074 #782DA4 #9943CB

Accessibility & contrast

On white

11.38
#552074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#552074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552074
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552074#FFFFFF#000000##FFFFFF
##5520741.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#123B72
Tritanopia (blue-blind)
#513247
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #552074;
/* rgb */ color: rgb(85, 32, 116);
/* oklch */ color: oklch(36.6% 0.140 310.1);
Tailwind
colors: {
  custom: {
    50: '#88609d',
    500: '#552074',
    950: '#000000',
  },
}
SCSS
$custom: #552074;
$custom-light: #88609d;
$custom-dark: #000000;
JSON
{
  "hex": "#552074",
  "rgb": {
    "r": 85,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 277.857,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36571,
    "c": 0.14025,
    "h": 310.1
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#552074
secondary
#6BA848
accent
#E04880
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #552074

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

Preview Lab → · Contrast checker → · Palette generator →

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