#6528AA#6528AA

#6528AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.192 H 299.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6528AA
RGBrgb(101, 40, 170)
HSLhsl(268, 62%, 41%)
HSVhsv(268, 76%, 67%)
CMYKcmyk(40.6%, 76.5%, 0%, 33.3%)
CIE-LABlab(32.23, 52.22, -58.53)
CIE-LCHlch(32.23, 78.44, 311.74°)
OKLaboklab(43.94% 0.095 -0.1673)
OKLCHoklch(43.94% 0.192 299.6)
XYZxyz(13.3795, 7.1864, 38.7046)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6528AA #6DAA28
analogous
#282CAA #6528AA #A628AA
triadic
#6528AA #AA6528 #28AA65
tetradic
#6528AA #AA282C #6DAA28 #28AAA6
square
#6528AA #AA282C #6DAA28 #28AAA6
split-complementary
#6528AA #AAA628 #2CAA28
monochromatic
#2A1147 #481C78 #6528AA #833ED2 #A36FDD

Accessibility & contrast

On white

8.62
#6528AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6528AA#FFFFFF#000000##FFFFFF
##6528AA1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#554A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6528aa;
/* rgb */ color: rgb(101, 40, 170);
/* oklch */ color: oklch(43.9% 0.192 299.6);
Tailwind
colors: {
  custom: {
    50: '#9769c4',
    500: '#6528aa',
    950: '#000000',
  },
}
SCSS
$custom: #6528aa;
$custom-light: #9769c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6528aa",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 268.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.19236,
    "h": 299.6
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6528AA

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

Preview Lab → · Contrast checker → · Palette generator →

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