#6521B3#6521B3

#6521B3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.208 H 298.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6521B3
RGBrgb(101, 33, 179)
HSLhsl(268, 69%, 42%)
HSVhsv(268, 82%, 70%)
CMYKcmyk(43.6%, 81.6%, 0%, 29.8%)
CIE-LABlab(32.05, 57.22, -64.19)
CIE-LCHlch(32.05, 85.99, 311.71°)
OKLaboklab(44.06% 0.0978 -0.1839)
OKLCHoklch(44.06% 0.208 298)
XYZxyz(14.0452, 7.1088, 43.2712)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6521B3 #6FB321
analogous
#2126B3 #6521B3 #AE21B3
triadic
#6521B3 #B36521 #21B365
tetradic
#6521B3 #B32126 #6FB321 #21B3AE
square
#6521B3 #B32126 #6FB321 #21B3AE
split-complementary
#6521B3 #B3AE21 #26B321
monochromatic
#2B0E4C #48177F #6521B3 #8337DA #A36BE4

Accessibility & contrast

On white

8.67
#6521B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6521B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6521B3#FFFFFF#000000##FFFFFF
##6521B31.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#514B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6521b3;
/* rgb */ color: rgb(101, 33, 179);
/* oklch */ color: oklch(44.1% 0.208 298.0);
Tailwind
colors: {
  custom: {
    50: '#9966cb',
    500: '#6521b3',
    950: '#000000',
  },
}
SCSS
$custom: #6521b3;
$custom-light: #9966cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6521b3",
  "rgb": {
    "r": 101,
    "g": 33,
    "b": 179
  },
  "hsl": {
    "h": 267.945,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.20826,
    "h": 298
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#6521B3
secondary
#9BCA66
accent
#EC3C9A
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6521B3

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

Preview Lab → · Contrast checker → · Palette generator →

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