#6528A4#6528A4

#6528A4 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.186 H 301.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6528A4
RGBrgb(101, 40, 164)
HSLhsl(270, 61%, 40%)
HSVhsv(270, 76%, 64%)
CMYKcmyk(38.4%, 75.6%, 0%, 35.7%)
CIE-LABlab(31.73, 50.74, -55.73)
CIE-LCHlch(31.73, 75.37, 312.31°)
OKLaboklab(43.43% 0.0964 -0.1591)
OKLCHoklch(43.43% 0.186 301.2)
XYZxyz(12.8248, 6.9645, 35.7834)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6528A4 #67A428
analogous
#2829A4 #6528A4 #A328A4
triadic
#6528A4 #A46528 #28A465
tetradic
#6528A4 #A42829 #67A428 #28A4A3
square
#6528A4 #A42829 #67A428 #28A4A3
split-complementary
#6528A4 #A4A328 #29A428
monochromatic
#281042 #471C73 #6528A4 #833ACF #A26BDB

Accessibility & contrast

On white

8.78
#6528A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6528A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6528A4#FFFFFF#000000##FFFFFF
##6528A41.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#574864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6528a4;
/* rgb */ color: rgb(101, 40, 164);
/* oklch */ color: oklch(43.4% 0.186 301.2);
Tailwind
colors: {
  custom: {
    50: '#9768c0',
    500: '#6528a4',
    950: '#000000',
  },
}
SCSS
$custom: #6528a4;
$custom-light: #9768c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6528a4",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 269.516,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.18602,
    "h": 301.2
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#6528A4
secondary
#95C166
accent
#E44495
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6528A4

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

Preview Lab → · Contrast checker → · Palette generator →

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