#6522B0#6522B0

#6522B0 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.204 H 298.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6522B0
RGBrgb(101, 34, 176)
HSLhsl(268, 68%, 41%)
HSVhsv(268, 81%, 69%)
CMYKcmyk(42.6%, 80.7%, 0%, 31%)
CIE-LABlab(31.91, 56.12, -62.64)
CIE-LCHlch(31.91, 84.10, 311.86°)
OKLaboklab(43.88% 0.0981 -0.1793)
OKLCHoklch(43.88% 0.204 298.7)
XYZxyz(13.7733, 7.0451, 41.7001)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6522B0 #6DB022
analogous
#2226B0 #6522B0 #AC22B0
triadic
#6522B0 #B06522 #22B065
tetradic
#6522B0 #B02226 #6DB022 #22B0AC
square
#6522B0 #B02226 #6DB022 #22B0AC
split-complementary
#6522B0 #B0AC22 #26B022
monochromatic
#2A0E49 #48187D #6522B0 #8337D8 #A36AE2

Accessibility & contrast

On white

8.72
#6522B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6522B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6522B0
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6522B0#FFFFFF#000000##FFFFFF
##6522B01.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6522b0;
/* rgb */ color: rgb(101, 34, 176);
/* oklch */ color: oklch(43.9% 0.204 298.7);
Tailwind
colors: {
  custom: {
    50: '#9866c9',
    500: '#6522b0',
    950: '#000000',
  },
}
SCSS
$custom: #6522b0;
$custom-light: #9866c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6522b0",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 268.31,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.20437,
    "h": 298.7
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#6522B0
secondary
#9AC866
accent
#EA3D99
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6522B0

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

Preview Lab → · Contrast checker → · Palette generator →

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