#552195#552195

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

Color values

HEX#552195
RGBrgb(85, 33, 149)
HSLhsl(267, 64%, 36%)
HSVhsv(267, 78%, 58%)
CMYKcmyk(43%, 77.9%, 0%, 41.6%)
CIE-LABlab(27.27, 47.28, -53.96)
CIE-LCHlch(27.27, 71.74, 311.22°)
OKLaboklab(39.44% 0.0826 -0.1544)
OKLCHoklch(39.44% 0.175 298.1)
XYZxyz(9.7136, 5.1888, 28.9177)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552195 #619521
analogous
#212795 #552195 #8F2195
triadic
#552195 #955521 #219555
tetradic
#552195 #952127 #619521 #21958F
square
#552195 #952127 #619521 #21958F
split-complementary
#552195 #958F21 #279521
monochromatic
#1C0B31 #381663 #552195 #722CC7 #9157DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##552195#FFFFFF#000000##FFFFFF
##5521951.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)
#004198
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#45405A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #552195;
/* rgb */ color: rgb(85, 33, 149);
/* oklch */ color: oklch(39.4% 0.175 298.1);
Tailwind
colors: {
  custom: {
    50: '#8b62b5',
    500: '#552195',
    950: '#000000',
  },
}
SCSS
$custom: #552195;
$custom-light: #8b62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#552195",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 266.897,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.17508,
    "h": 298.1
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#552195
secondary
#8EBE54
accent
#E7419C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #552195

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

Preview Lab → · Contrast checker → · Palette generator →

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