#6522AF#6522AF

#6522AF is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.203 H 298.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6522AF
RGBrgb(101, 34, 175)
HSLhsl(269, 67%, 41%)
HSVhsv(269, 81%, 69%)
CMYKcmyk(42.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(31.82, 55.88, -62.19)
CIE-LCHlch(31.82, 83.60, 311.94°)
OKLaboklab(43.79% 0.0984 -0.178)
OKLCHoklch(43.79% 0.203 298.9)
XYZxyz(13.6747, 7.0057, 41.1809)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6522AF #6CAF22
analogous
#2225AF #6522AF #AB22AF
triadic
#6522AF #AF6522 #22AF65
tetradic
#6522AF #AF2225 #6CAF22 #22AFAB
square
#6522AF #AF2225 #6CAF22 #22AFAB
split-complementary
#6522AF #AFAB22 #25AF22
monochromatic
#2A0E49 #47187C #6522AF #8336D8 #A369E2

Accessibility & contrast

On white

8.75
#6522AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6522AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6522AF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6522AF#FFFFFF#000000##FFFFFF
##6522AF1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#534A69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6522af;
/* rgb */ color: rgb(101, 34, 175);
/* oklch */ color: oklch(43.8% 0.203 298.9);
Tailwind
colors: {
  custom: {
    50: '#9866c8',
    500: '#6522af',
    950: '#000000',
  },
}
SCSS
$custom: #6522af;
$custom-light: #9866c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6522af",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 268.511,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43785,
    "c": 0.20337,
    "h": 298.9
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#6522AF
secondary
#99C865
accent
#EA3D98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6522AF

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

Preview Lab → · Contrast checker → · Palette generator →

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