#6552AB#6552AB

#6552AB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.2% C 0.137 H 290.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6552AB
RGBrgb(101, 82, 171)
HSLhsl(253, 35%, 50%)
HSVhsv(253, 52%, 67%)
CMYKcmyk(40.9%, 52%, 0%, 32.9%)
CIE-LABlab(40.80, 29.70, -45.26)
CIE-LCHlch(40.80, 54.13, 303.27°)
OKLaboklab(50.18% 0.0478 -0.1283)
OKLCHoklch(50.18% 0.137 290.4)
XYZxyz(15.7328, 11.7411, 39.9575)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6552AB #98AB52
analogous
#526CAB #6552AB #9252AB
triadic
#6552AB #AB6552 #52AB65
tetradic
#6552AB #AB526C #98AB52 #52AB92
square
#6552AB #AB526C #98AB52 #52AB92
split-complementary
#6552AB #AB9252 #6CAB52
monochromatic
#342A58 #4D3E82 #6552AB #897BC0 #AEA4D3

Accessibility & contrast

On white

6.27
#6552AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6552AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6552AB#FFFFFF#000000##FFFFFF
##6552AB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6552ab;
/* rgb */ color: rgb(101, 82, 171);
/* oklch */ color: oklch(50.2% 0.137 290.4);
Tailwind
colors: {
  custom: {
    50: '#9583c4',
    500: '#6552ab',
    950: '#000000',
  },
}
SCSS
$custom: #6552ab;
$custom-light: #9583c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6552ab",
  "rgb": {
    "r": 101,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 252.809,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5018,
    "c": 0.13696,
    "h": 290.4
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#6552AB
secondary
#B8C198
accent
#CB5DB4
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6552AB

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

Preview Lab → · Contrast checker → · Palette generator →

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