#6521B0#6521B0

#6521B0 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.205 H 298.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6521B0
RGBrgb(101, 33, 176)
HSLhsl(269, 68%, 41%)
HSVhsv(269, 81%, 69%)
CMYKcmyk(42.6%, 81.3%, 0%, 31%)
CIE-LABlab(31.78, 56.49, -62.85)
CIE-LCHlch(31.78, 84.51, 311.95°)
OKLaboklab(43.79% 0.0988 -0.1799)
OKLCHoklch(43.79% 0.205 298.8)
XYZxyz(13.7451, 6.9888, 41.6907)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6521B0 #6CB021
analogous
#2125B0 #6521B0 #AC21B0
triadic
#6521B0 #B06521 #21B065
tetradic
#6521B0 #B02125 #6CB021 #21B0AC
square
#6521B0 #B02125 #6CB021 #21B0AC
split-complementary
#6521B0 #B0AC21 #25B021
monochromatic
#2A0E49 #47177C #6521B0 #8335D9 #A369E3

Accessibility & contrast

On white

8.76
#6521B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6521B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6521B0#FFFFFF#000000##FFFFFF
##6521B01.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6521b0;
/* rgb */ color: rgb(101, 33, 176);
/* oklch */ color: oklch(43.8% 0.205 298.8);
Tailwind
colors: {
  custom: {
    50: '#9866c9',
    500: '#6521b0',
    950: '#000000',
  },
}
SCSS
$custom: #6521b0;
$custom-light: #9866c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6521b0",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 176
  },
  "hsl": {
    "h": 268.531,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.20525,
    "h": 298.8
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#6521B0
secondary
#99C864
accent
#EB3D98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6521B0

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

Preview Lab → · Contrast checker → · Palette generator →

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