#6521AA#6521AA

#6521AA is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.199 H 300.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6521AA
RGBrgb(101, 33, 170)
HSLhsl(270, 67%, 40%)
HSVhsv(270, 81%, 67%)
CMYKcmyk(40.6%, 80.6%, 0%, 33.3%)
CIE-LABlab(31.25, 55.05, -60.13)
CIE-LCHlch(31.25, 81.52, 312.47°)
OKLaboklab(43.25% 0.1007 -0.1719)
OKLCHoklch(43.25% 0.199 300.4)
XYZxyz(13.1646, 6.7566, 38.6330)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6521AA #66AA21
analogous
#2121AA #6521AA #AA21AA
triadic
#6521AA #AA6521 #21AA65
tetradic
#6521AA #AA2121 #66AA21 #21AAAA
square
#6521AA #AA2121 #66AA21 #21AAAA
split-complementary
#6521AA #AAAA21 #21AA21
monochromatic
#280D43 #471777 #6521AA #8331D7 #A264E1

Accessibility & contrast

On white

8.93
#6521AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6521AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6521AA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6521AA#FFFFFF#000000##FFFFFF
##6521AA1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6521aa;
/* rgb */ color: rgb(101, 33, 170);
/* oklch */ color: oklch(43.3% 0.199 300.4);
Tailwind
colors: {
  custom: {
    50: '#9865c4',
    500: '#6521aa',
    950: '#000000',
  },
}
SCSS
$custom: #6521aa;
$custom-light: #9865c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6521aa",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 269.781,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4325,
    "c": 0.19923,
    "h": 300.4
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#6521AA
secondary
#94C661
accent
#EA3D95
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6521AA

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

Preview Lab → · Contrast checker → · Palette generator →

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