#552FAF#552FAF

#552FAF is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.189 H 289.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#552FAF
RGBrgb(85, 47, 175)
HSLhsl(258, 58%, 44%)
HSVhsv(258, 73%, 69%)
CMYKcmyk(51.4%, 73.1%, 0%, 31.4%)
CIE-LABlab(31.94, 47.62, -62.06)
CIE-LCHlch(31.94, 78.23, 307.50°)
OKLaboklab(43.44% 0.0638 -0.1783)
OKLCHoklch(43.44% 0.189 289.7)
XYZxyz(12.4985, 7.0589, 41.2531)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552FAF #89AF2F
analogous
#2F49AF #552FAF #952FAF
triadic
#552FAF #AF552F #2FAF55
tetradic
#552FAF #AF2F49 #89AF2F #2FAF95
square
#552FAF #AF2F49 #89AF2F #2FAF95
split-complementary
#552FAF #AF952F #49AF2F
monochromatic
#26154F #3E227F #552FAF #734CCF #997CDC

Accessibility & contrast

On white

8.71
#552FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#552FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552FAF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552FAF#FFFFFF#000000##FFFFFF
##552FAF1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#35516C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #552faf;
/* rgb */ color: rgb(85, 47, 175);
/* oklch */ color: oklch(43.4% 0.189 289.7);
Tailwind
colors: {
  custom: {
    50: '#8e6bc8',
    500: '#552faf',
    950: '#000000',
  },
}
SCSS
$custom: #552faf;
$custom-light: #8e6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#552faf",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 257.813,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.18934,
    "h": 289.7
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#552FAF
secondary
#ADC475
accent
#E147B3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #552FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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