#6522A3#6522A3

#6522A3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.191 H 302.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6522A3
RGBrgb(101, 34, 163)
HSLhsl(271, 65%, 39%)
HSVhsv(271, 79%, 64%)
CMYKcmyk(38%, 79.1%, 0%, 36.1%)
CIE-LABlab(30.77, 52.99, -56.68)
CIE-LCHlch(30.77, 77.60, 313.07°)
OKLaboklab(42.73% 0.1019 -0.1618)
OKLCHoklch(42.73% 0.191 302.2)
XYZxyz(12.5481, 6.5551, 35.2474)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6522A3 #60A322
analogous
#2522A3 #6522A3 #A322A0
triadic
#6522A3 #A36522 #22A365
tetradic
#6522A3 #A32522 #60A322 #22A0A3
square
#6522A3 #A32522 #60A322 #22A0A3
split-complementary
#6522A3 #A0A322 #22A325
monochromatic
#260D3E #461770 #6522A3 #842FD4 #A261DE

Accessibility & contrast

On white

9.09
#6522A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6522A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6522A3
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6522A3#FFFFFF#000000##FFFFFF
##6522A31.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#584562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6522a3;
/* rgb */ color: rgb(101, 34, 163);
/* oklch */ color: oklch(42.7% 0.191 302.2);
Tailwind
colors: {
  custom: {
    50: '#9765bf',
    500: '#6522a3',
    950: '#000000',
  },
}
SCSS
$custom: #6522a3;
$custom-light: #9765bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6522a3",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 271.163,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.19124,
    "h": 302.2
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#6522A3
secondary
#8EC35E
accent
#E83F91
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6522A3

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

Preview Lab → · Contrast checker → · Palette generator →

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