#6520AA#6520AA

#6520AA is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.2% C 0.200 H 300.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6520AA
RGBrgb(101, 32, 170)
HSLhsl(270, 68%, 40%)
HSVhsv(270, 81%, 67%)
CMYKcmyk(40.6%, 81.2%, 0%, 33.3%)
CIE-LABlab(31.12, 55.42, -60.34)
CIE-LCHlch(31.12, 81.93, 312.57°)
OKLaboklab(43.16% 0.1014 -0.1725)
OKLCHoklch(43.16% 0.2 300.4)
XYZxyz(13.1372, 6.7019, 38.6239)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6520AA #65AA20
analogous
#2020AA #6520AA #AA20AA
triadic
#6520AA #AA6520 #20AA65
tetradic
#6520AA #AA2020 #65AA20 #20AAAA
square
#6520AA #AA2020 #65AA20 #20AAAA
split-complementary
#6520AA #AAAA20 #20AA20
monochromatic
#280D43 #461676 #6520AA #842FD8 #A263E2

Accessibility & contrast

On white

8.97
#6520AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6520AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6520AA#FFFFFF#000000##FFFFFF
##6520AA1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#554766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6520aa;
/* rgb */ color: rgb(101, 32, 170);
/* oklch */ color: oklch(43.2% 0.200 300.4);
Tailwind
colors: {
  custom: {
    50: '#9865c4',
    500: '#6520aa',
    950: '#000000',
  },
}
SCSS
$custom: #6520aa;
$custom-light: #9865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6520aa",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 270,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43161,
    "c": 0.20014,
    "h": 300.4
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#6520AA
secondary
#93C75F
accent
#EB3D94
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6520AA

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

Preview Lab → · Contrast checker → · Palette generator →

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