#552174#552174

#552174 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.139 H 310.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#552174
RGBrgb(85, 33, 116)
HSLhsl(278, 56%, 29%)
HSVhsv(278, 72%, 45%)
CMYKcmyk(26.7%, 71.6%, 0%, 54.5%)
CIE-LABlab(24.58, 39.00, -37.64)
CIE-LCHlch(24.58, 54.20, 316.02°)
OKLaboklab(36.7% 0.0892 -0.1064)
OKLCHoklch(36.7% 0.139 310)
XYZxyz(7.4419, 4.2801, 16.9537)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552174 #407421
analogous
#2B2174 #552174 #74216A
triadic
#552174 #745521 #217455
tetradic
#552174 #742B21 #407421 #216A74
square
#552174 #742B21 #407421 #216A74
split-complementary
#552174 #6A7421 #21742B
monochromatic
#110718 #321344 #552174 #782FA4 #9945CA

Accessibility & contrast

On white

11.31
#552174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#552174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552174
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552174#FFFFFF#000000##FFFFFF
##5521741.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552174;
/* rgb */ color: rgb(85, 33, 116);
/* oklch */ color: oklch(36.7% 0.139 310.0);
Tailwind
colors: {
  custom: {
    50: '#88619d',
    500: '#552174',
    950: '#000000',
  },
}
SCSS
$custom: #552174;
$custom-light: #88619d;
$custom-dark: #000000;
JSON
{
  "hex": "#552174",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 277.59,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36695,
    "c": 0.13888,
    "h": 310
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#552174
secondary
#6DA749
accent
#DF4981
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #552174

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

Preview Lab → · Contrast checker → · Palette generator →

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