#6528AB#6528AB

#6528AB is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.193 H 299.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6528AB
RGBrgb(101, 40, 171)
HSLhsl(268, 62%, 41%)
HSVhsv(268, 77%, 67%)
CMYKcmyk(40.9%, 76.6%, 0%, 32.9%)
CIE-LABlab(32.31, 52.47, -58.99)
CIE-LCHlch(32.31, 78.95, 311.65°)
OKLaboklab(44.02% 0.0947 -0.1686)
OKLCHoklch(44.02% 0.193 299.3)
XYZxyz(13.4744, 7.2244, 39.2047)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6528AB #6EAB28
analogous
#282DAB #6528AB #A728AB
triadic
#6528AB #AB6528 #28AB65
tetradic
#6528AB #AB282D #6EAB28 #28ABA7
square
#6528AB #AB282D #6EAB28 #28ABA7
split-complementary
#6528AB #ABA728 #2DAB28
monochromatic
#2A1148 #481C79 #6528AB #833ED2 #A370DE

Accessibility & contrast

On white

8.59
#6528AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6528AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6528AB
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6528AB#FFFFFF#000000##FFFFFF
##6528AB1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#544B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6528ab;
/* rgb */ color: rgb(101, 40, 171);
/* oklch */ color: oklch(44.0% 0.193 299.3);
Tailwind
colors: {
  custom: {
    50: '#9869c5',
    500: '#6528ab',
    950: '#000000',
  },
}
SCSS
$custom: #6528ab;
$custom-light: #9869c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6528ab",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 267.939,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.19341,
    "h": 299.3
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#6528AB
secondary
#9AC46A
accent
#E54399
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6528AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6528AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva