#6552AA#6552AA

#6552AA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.1% C 0.136 H 290.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6552AA
RGBrgb(101, 82, 170)
HSLhsl(253, 35%, 49%)
HSVhsv(253, 52%, 67%)
CMYKcmyk(40.6%, 51.8%, 0%, 33.3%)
CIE-LABlab(40.74, 29.41, -44.76)
CIE-LCHlch(40.74, 53.56, 303.30°)
OKLaboklab(50.11% 0.0477 -0.1269)
OKLCHoklch(50.11% 0.136 290.6)
XYZxyz(15.6378, 11.7031, 39.4574)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6552AA #97AA52
analogous
#526BAA #6552AA #9152AA
triadic
#6552AA #AA6552 #52AA65
tetradic
#6552AA #AA526B #97AA52 #52AA91
square
#6552AA #AA526B #97AA52 #52AA91
split-complementary
#6552AA #AA9152 #6BAA52
monochromatic
#342A57 #4C3E81 #6552AA #897ABF #AEA4D3

Accessibility & contrast

On white

6.29
#6552AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6552AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6552AA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6552AA#FFFFFF#000000##FFFFFF
##6552AA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#526476
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6552aa;
/* rgb */ color: rgb(101, 82, 170);
/* oklch */ color: oklch(50.1% 0.136 290.6);
Tailwind
colors: {
  custom: {
    50: '#9583c4',
    500: '#6552aa',
    950: '#000000',
  },
}
SCSS
$custom: #6552aa;
$custom-light: #9583c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6552aa",
  "rgb": {
    "r": 101,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 252.955,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.13557,
    "h": 290.6
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#6552AA
secondary
#B7C098
accent
#CB5DB3
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6552AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6552AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva