#6522A6#6522A6

#6522A6 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.194 H 301.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6522A6
RGBrgb(101, 34, 166)
HSLhsl(270, 66%, 39%)
HSVhsv(270, 80%, 65%)
CMYKcmyk(39.2%, 79.5%, 0%, 34.9%)
CIE-LABlab(31.03, 53.71, -58.08)
CIE-LCHlch(31.03, 79.11, 312.76°)
OKLaboklab(42.99% 0.1011 -0.1659)
OKLCHoklch(42.99% 0.194 301.3)
XYZxyz(12.8201, 6.6638, 36.6798)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6522A6 #63A622
analogous
#2322A6 #6522A6 #A622A5
triadic
#6522A6 #A66522 #22A665
tetradic
#6522A6 #A62322 #63A622 #22A5A6
square
#6522A6 #A62322 #63A622 #22A5A6
split-complementary
#6522A6 #A5A622 #22A623
monochromatic
#270D40 #461873 #6522A6 #8430D5 #A263DF

Accessibility & contrast

On white

9.00
#6522A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6522A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6522A6
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6522A6#FFFFFF#000000##FFFFFF
##6522A61.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#564664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6522a6;
/* rgb */ color: rgb(101, 34, 166);
/* oklch */ color: oklch(43.0% 0.194 301.3);
Tailwind
colors: {
  custom: {
    50: '#9766c1',
    500: '#6522a6',
    950: '#000000',
  },
}
SCSS
$custom: #6522a6;
$custom-light: #9766c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6522a6",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 270.455,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.19427,
    "h": 301.3
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#6522A6
secondary
#91C45F
accent
#E93F93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6522A6

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

Preview Lab → · Contrast checker → · Palette generator →

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