#552F9F#552F9F

#552F9F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.170 H 293.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#552F9F
RGBrgb(85, 47, 159)
HSLhsl(260, 54%, 40%)
HSVhsv(260, 70%, 62%)
CMYKcmyk(46.5%, 70.4%, 0%, 37.6%)
CIE-LABlab(30.56, 43.11, -54.69)
CIE-LCHlch(30.56, 69.63, 308.25°)
OKLaboklab(42.04% 0.0671 -0.1566)
OKLCHoklch(42.04% 0.17 293.2)
XYZxyz(11.0191, 6.4672, 33.4619)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F9F #799F2F
analogous
#2F419F #552F9F #8D2F9F
triadic
#552F9F #9F552F #2F9F55
tetradic
#552F9F #9F2F41 #799F2F #2F9F8D
square
#552F9F #9F2F41 #799F2F #2F9F8D
split-complementary
#552F9F #9F8D2F #419F2F
monochromatic
#221341 #3C2170 #552F9F #7044C8 #9473D6

Accessibility & contrast

On white

9.16
#552F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#552F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552F9F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552F9F#FFFFFF#000000##FFFFFF
##552F9F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#3F4B63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #552f9f;
/* rgb */ color: rgb(85, 47, 159);
/* oklch */ color: oklch(42.0% 0.170 293.2);
Tailwind
colors: {
  custom: {
    50: '#8c6bbc',
    500: '#552f9f',
    950: '#000000',
  },
}
SCSS
$custom: #552f9f;
$custom-light: #8c6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#552f9f",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 260.357,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.17039,
    "h": 293.2
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#552F9F
secondary
#A2BD6D
accent
#DE4AAC
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #552F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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