#6520A6#6520A6

#6520A6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.196 H 301.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6520A6
RGBrgb(101, 32, 166)
HSLhsl(271, 68%, 39%)
HSVhsv(271, 81%, 65%)
CMYKcmyk(39.2%, 80.7%, 0%, 34.9%)
CIE-LABlab(30.77, 54.47, -58.51)
CIE-LCHlch(30.77, 79.94, 312.95°)
OKLaboklab(42.81% 0.1026 -0.1672)
OKLCHoklch(42.81% 0.196 301.6)
XYZxyz(12.7646, 6.5528, 36.6613)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6520A6 #61A620
analogous
#2220A6 #6520A6 #A620A4
triadic
#6520A6 #A66520 #20A665
tetradic
#6520A6 #A62220 #61A620 #20A4A6
square
#6520A6 #A62220 #61A620 #20A4A6
split-complementary
#6520A6 #A4A620 #20A622
monochromatic
#270C3F #461673 #6520A6 #842DD6 #A260E0

Accessibility & contrast

On white

9.09
#6520A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6520A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6520A6
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6520A6#FFFFFF#000000##FFFFFF
##6520A61.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)
#0048AA
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#564564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6520a6;
/* rgb */ color: rgb(101, 32, 166);
/* oklch */ color: oklch(42.8% 0.196 301.6);
Tailwind
colors: {
  custom: {
    50: '#9765c1',
    500: '#6520a6',
    950: '#000000',
  },
}
SCSS
$custom: #6520a6;
$custom-light: #9765c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6520a6",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 270.896,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.19616,
    "h": 301.6
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#6520A6
secondary
#8FC55D
accent
#EB3D91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6520A6

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

Preview Lab → · Contrast checker → · Palette generator →

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