#6522BD#6522BD

#6522BD is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.217 H 295.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6522BD
RGBrgb(101, 34, 189)
HSLhsl(266, 70%, 44%)
HSVhsv(266, 82%, 74%)
CMYKcmyk(46.6%, 82%, 0%, 25.9%)
CIE-LABlab(33.10, 59.28, -68.40)
CIE-LCHlch(33.10, 90.51, 310.92°)
OKLaboklab(45.06% 0.0938 -0.1962)
OKLCHoklch(45.06% 0.217 295.6)
XYZxyz(15.1217, 7.5845, 48.8015)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6522BD #7ABD22
analogous
#222DBD #6522BD #B222BD
triadic
#6522BD #BD6522 #22BD65
tetradic
#6522BD #BD222D #7ABD22 #22BDB2
square
#6522BD #BD222D #7ABD22 #22BDB2
split-complementary
#6522BD #BDB222 #2DBD22
monochromatic
#2E0F55 #491989 #6522BD #8340DD #A573E6

Accessibility & contrast

On white

8.34
#6522BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6522BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6522BD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6522BD#FFFFFF#000000##FFFFFF
##6522BD1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6522bd;
/* rgb */ color: rgb(101, 34, 189);
/* oklch */ color: oklch(45.1% 0.217 295.6);
Tailwind
colors: {
  custom: {
    50: '#9a67d2',
    500: '#6522bd',
    950: '#000000',
  },
}
SCSS
$custom: #6522bd;
$custom-light: #9a67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6522bd",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 265.935,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45063,
    "c": 0.21746,
    "h": 295.6
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#6522BD
secondary
#A4CD6E
accent
#EC3BA0
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6522BD

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

Preview Lab → · Contrast checker → · Palette generator →

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