#6521BD#6521BD

#6521BD is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 45.0% C 0.218 H 295.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6521BD
RGBrgb(101, 33, 189)
HSLhsl(266, 70%, 44%)
HSVhsv(266, 83%, 74%)
CMYKcmyk(46.6%, 82.5%, 0%, 25.9%)
CIE-LABlab(32.98, 59.64, -68.60)
CIE-LCHlch(32.98, 90.90, 311.00°)
OKLaboklab(44.98% 0.0945 -0.1968)
OKLCHoklch(44.98% 0.218 295.6)
XYZxyz(15.0935, 7.5281, 48.7921)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6521BD #79BD21
analogous
#212BBD #6521BD #B321BD
triadic
#6521BD #BD6521 #21BD65
tetradic
#6521BD #BD212B #79BD21 #21BDB3
square
#6521BD #BD212B #79BD21 #21BDB3
split-complementary
#6521BD #BDB321 #2BBD21
monochromatic
#2D0F55 #491889 #6521BD #833EDD #A572E6

Accessibility & contrast

On white

8.38
#6521BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6521BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6521BD#FFFFFF#000000##FFFFFF
##6521BD1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#4B4F71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6521bd;
/* rgb */ color: rgb(101, 33, 189);
/* oklch */ color: oklch(45.0% 0.218 295.6);
Tailwind
colors: {
  custom: {
    50: '#9a66d2',
    500: '#6521bd',
    950: '#000000',
  },
}
SCSS
$custom: #6521bd;
$custom-light: #9a66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6521bd",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 266.154,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.21826,
    "h": 295.6
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#6521BD
secondary
#A3CD6D
accent
#ED3B9F
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6521BD

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

Preview Lab → · Contrast checker → · Palette generator →

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