#6552AF#6552AF

#6552AF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.4% C 0.142 H 289.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6552AF
RGBrgb(101, 82, 175)
HSLhsl(252, 37%, 50%)
HSVhsv(252, 53%, 69%)
CMYKcmyk(42.3%, 53.1%, 0%, 31.4%)
CIE-LABlab(41.05, 30.86, -47.22)
CIE-LCHlch(41.05, 56.41, 303.16°)
OKLaboklab(50.44% 0.048 -0.1341)
OKLCHoklch(50.44% 0.142 289.7)
XYZxyz(16.1198, 11.8959, 41.9959)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6552AF #9CAF52
analogous
#526DAF #6552AF #9352AF
triadic
#6552AF #AF6552 #52AF65
tetradic
#6552AF #AF526D #9CAF52 #52AF93
square
#6552AF #AF526D #9CAF52 #52AF93
split-complementary
#6552AF #AF9352 #6DAF52
monochromatic
#352B5C #4D3E86 #6552AF #8A7CC2 #B0A6D6

Accessibility & contrast

On white

6.21
#6552AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6552AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6552AF#FFFFFF#000000##FFFFFF
##6552AF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#506678
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6552af;
/* rgb */ color: rgb(101, 82, 175);
/* oklch */ color: oklch(50.4% 0.142 289.7);
Tailwind
colors: {
  custom: {
    50: '#9583c7',
    500: '#6552af',
    950: '#000000',
  },
}
SCSS
$custom: #6552af;
$custom-light: #9583c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6552af",
  "rgb": {
    "r": 101,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 252.258,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.14247,
    "h": 289.7
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#6552AF
secondary
#BBC39A
accent
#CD5BB6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6552AF

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

Preview Lab → · Contrast checker → · Palette generator →

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