#6528AE#6528AE

#6528AE is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.197 H 298.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6528AE
RGBrgb(101, 40, 174)
HSLhsl(267, 63%, 42%)
HSVhsv(267, 77%, 68%)
CMYKcmyk(42%, 77%, 0%, 31.8%)
CIE-LABlab(32.57, 53.21, -60.36)
CIE-LCHlch(32.57, 80.47, 311.40°)
OKLaboklab(44.28% 0.0939 -0.1727)
OKLCHoklch(44.28% 0.197 298.5)
XYZxyz(13.7636, 7.3401, 40.7278)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6528AE #71AE28
analogous
#282EAE #6528AE #A828AE
triadic
#6528AE #AE6528 #28AE65
tetradic
#6528AE #AE282E #71AE28 #28AEA8
square
#6528AE #AE282E #71AE28 #28AEA8
split-complementary
#6528AE #AEA828 #2EAE28
monochromatic
#2B114A #481D7C #6528AE #8340D3 #A372DF

Accessibility & contrast

On white

8.51
#6528AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6528AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6528AE#FFFFFF#000000##FFFFFF
##6528AE1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#534C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6528ae;
/* rgb */ color: rgb(101, 40, 174);
/* oklch */ color: oklch(44.3% 0.197 298.5);
Tailwind
colors: {
  custom: {
    50: '#9869c7',
    500: '#6528ae',
    950: '#000000',
  },
}
SCSS
$custom: #6528ae;
$custom-light: #9869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6528ae",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 267.313,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.19656,
    "h": 298.5
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#6528AE
secondary
#9DC66C
accent
#E6429B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6528AE

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

Preview Lab → · Contrast checker → · Palette generator →

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