#6522A5#6522A5

#6522A5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.193 H 301.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6522A5
RGBrgb(101, 34, 165)
HSLhsl(271, 66%, 39%)
HSVhsv(271, 79%, 65%)
CMYKcmyk(38.8%, 79.4%, 0%, 35.3%)
CIE-LABlab(30.94, 53.47, -57.61)
CIE-LCHlch(30.94, 78.60, 312.86°)
OKLaboklab(42.91% 0.1014 -0.1646)
OKLCHoklch(42.91% 0.193 301.6)
XYZxyz(12.7287, 6.6273, 36.1986)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6522A5 #62A522
analogous
#2422A5 #6522A5 #A522A4
triadic
#6522A5 #A56522 #22A565
tetradic
#6522A5 #A52422 #62A522 #22A4A5
square
#6522A5 #A52422 #62A522 #22A4A5
split-complementary
#6522A5 #A4A522 #22A524
monochromatic
#270D40 #461872 #6522A5 #8430D4 #A263DF

Accessibility & contrast

On white

9.03
#6522A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6522A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6522A5
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6522A5#FFFFFF#000000##FFFFFF
##6522A51.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#574563
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6522a5;
/* rgb */ color: rgb(101, 34, 165);
/* oklch */ color: oklch(42.9% 0.193 301.6);
Tailwind
colors: {
  custom: {
    50: '#9766c1',
    500: '#6522a5',
    950: '#000000',
  },
}
SCSS
$custom: #6522a5;
$custom-light: #9766c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6522a5",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 270.687,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42905,
    "c": 0.19327,
    "h": 301.6
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#6522A5
secondary
#90C45F
accent
#E93F92
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6522A5

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

Preview Lab → · Contrast checker → · Palette generator →

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