#6520B1#6520B1

#6520B1 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.207 H 298.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6520B1
RGBrgb(101, 32, 177)
HSLhsl(269, 69%, 41%)
HSVhsv(269, 82%, 69%)
CMYKcmyk(42.9%, 81.9%, 0%, 30.6%)
CIE-LABlab(31.75, 57.10, -63.50)
CIE-LCHlch(31.75, 85.40, 311.96°)
OKLaboklab(43.79% 0.0992 -0.1818)
OKLCHoklch(43.79% 0.207 298.6)
XYZxyz(13.8171, 6.9738, 42.2046)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6520B1 #6CB120
analogous
#2023B1 #6520B1 #AD20B1
triadic
#6520B1 #B16520 #20B165
tetradic
#6520B1 #B12023 #6CB120 #20B1AD
square
#6520B1 #B12023 #6CB120 #20B1AD
split-complementary
#6520B1 #B1AD20 #23B120
monochromatic
#2A0D49 #47177D #6520B1 #8334DA #A368E4

Accessibility & contrast

On white

8.77
#6520B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6520B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6520B1#FFFFFF#000000##FFFFFF
##6520B11.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#524A6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6520b1;
/* rgb */ color: rgb(101, 32, 177);
/* oklch */ color: oklch(43.8% 0.207 298.6);
Tailwind
colors: {
  custom: {
    50: '#9965c9',
    500: '#6520b1',
    950: '#000000',
  },
}
SCSS
$custom: #6520b1;
$custom-light: #9965c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6520b1",
  "rgb": {
    "r": 101,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 268.552,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4379,
    "c": 0.20711,
    "h": 298.6
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#6520B1
secondary
#99C964
accent
#EC3C98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6520B1

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

Preview Lab → · Contrast checker → · Palette generator →

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