#6520A0#6520A0

#6520A0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.190 H 303.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6520A0
RGBrgb(101, 32, 160)
HSLhsl(272, 67%, 38%)
HSVhsv(272, 80%, 63%)
CMYKcmyk(36.9%, 80%, 0%, 37.3%)
CIE-LABlab(30.25, 53.05, -55.72)
CIE-LCHlch(30.25, 76.94, 313.60°)
OKLaboklab(42.29% 0.1044 -0.159)
OKLCHoklch(42.29% 0.19 303.3)
XYZxyz(12.2270, 6.3378, 33.8301)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6520A0 #5BA020
analogous
#2520A0 #6520A0 #A0209B
triadic
#6520A0 #A06520 #20A065
tetradic
#6520A0 #A02520 #5BA020 #209BA0
square
#6520A0 #A02520 #5BA020 #209BA0
split-complementary
#6520A0 #9BA020 #20A025
monochromatic
#250C3A #45166D #6520A0 #852AD3 #A25CDE

Accessibility & contrast

On white

9.26
#6520A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6520A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6520A0#FFFFFF#000000##FFFFFF
##6520A01.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#594260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6520a0;
/* rgb */ color: rgb(101, 32, 160);
/* oklch */ color: oklch(42.3% 0.190 303.3);
Tailwind
colors: {
  custom: {
    50: '#9764bd',
    500: '#6520a0',
    950: '#000000',
  },
}
SCSS
$custom: #6520a0;
$custom-light: #9764bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6520a0",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 272.344,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.19018,
    "h": 303.3
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#6520A0
secondary
#8AC359
accent
#EA3E8D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6520A0

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

Preview Lab → · Contrast checker → · Palette generator →

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