#6520B3#6520B3

#6520B3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.209 H 298.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6520B3
RGBrgb(101, 32, 179)
HSLhsl(268, 70%, 41%)
HSVhsv(268, 82%, 70%)
CMYKcmyk(43.6%, 82.1%, 0%, 29.8%)
CIE-LABlab(31.93, 57.58, -64.39)
CIE-LCHlch(31.93, 86.38, 311.80°)
OKLaboklab(43.97% 0.0985 -0.1844)
OKLCHoklch(43.97% 0.209 298.1)
XYZxyz(14.0179, 7.0542, 43.2621)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6520B3 #6EB320
analogous
#2025B3 #6520B3 #AF20B3
triadic
#6520B3 #B36520 #20B365
tetradic
#6520B3 #B32025 #6EB320 #20B3AF
square
#6520B3 #B32025 #6EB320 #20B3AF
split-complementary
#6520B3 #B3AF20 #25B320
monochromatic
#2A0D4B #48177F #6520B3 #8335DB #A369E4

Accessibility & contrast

On white

8.71
#6520B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6520B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6520B3#FFFFFF#000000##FFFFFF
##6520B31.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#514B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6520b3;
/* rgb */ color: rgb(101, 32, 179);
/* oklch */ color: oklch(44.0% 0.209 298.1);
Tailwind
colors: {
  custom: {
    50: '#9965cb',
    500: '#6520b3',
    950: '#000000',
  },
}
SCSS
$custom: #6520b3;
$custom-light: #9965cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6520b3",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 268.163,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.20909,
    "h": 298.1
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#6520B3
secondary
#9ACA65
accent
#EC3B99
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6520B3

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

Preview Lab → · Contrast checker → · Palette generator →

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