#6520A9#6520A9

#6520A9 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.199 H 300.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6520A9
RGBrgb(101, 32, 169)
HSLhsl(270, 68%, 39%)
HSVhsv(270, 81%, 66%)
CMYKcmyk(40.2%, 81.1%, 0%, 33.7%)
CIE-LABlab(31.03, 55.18, -59.88)
CIE-LCHlch(31.03, 81.43, 312.66°)
OKLaboklab(43.07% 0.1017 -0.1712)
OKLCHoklch(43.07% 0.199 300.7)
XYZxyz(13.0430, 6.6642, 38.1276)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6520A9 #64A920
analogous
#2120A9 #6520A9 #A920A9
triadic
#6520A9 #A96520 #20A965
tetradic
#6520A9 #A92120 #64A920 #20A9A9
square
#6520A9 #A92120 #64A920 #20A9A9
split-complementary
#6520A9 #A9A920 #20A921
monochromatic
#270D42 #461676 #6520A9 #842FD8 #A262E1

Accessibility & contrast

On white

9.00
#6520A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6520A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6520A9#FFFFFF#000000##FFFFFF
##6520A91.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)
#0048AD
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#554665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6520a9;
/* rgb */ color: rgb(101, 32, 169);
/* oklch */ color: oklch(43.1% 0.199 300.7);
Tailwind
colors: {
  custom: {
    50: '#9865c4',
    500: '#6520a9',
    950: '#000000',
  },
}
SCSS
$custom: #6520a9;
$custom-light: #9865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6520a9",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 270.219,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43073,
    "c": 0.19914,
    "h": 300.7
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#6520A9
secondary
#92C65F
accent
#EB3D93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6520A9

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

Preview Lab → · Contrast checker → · Palette generator →

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