#6528AF#6528AF

#6528AF is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.198 H 298.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6528AF
RGBrgb(101, 40, 175)
HSLhsl(267, 63%, 42%)
HSVhsv(267, 77%, 69%)
CMYKcmyk(42.3%, 77.1%, 0%, 31.4%)
CIE-LABlab(32.66, 53.46, -60.82)
CIE-LCHlch(32.66, 80.98, 311.32°)
OKLaboklab(44.37% 0.0937 -0.174)
OKLCHoklch(44.37% 0.198 298.3)
XYZxyz(13.8615, 7.3792, 41.2432)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6528AF #72AF28
analogous
#282FAF #6528AF #A928AF
triadic
#6528AF #AF6528 #28AF65
tetradic
#6528AF #AF282F #72AF28 #28AFA9
square
#6528AF #AF282F #72AF28 #28AFA9
split-complementary
#6528AF #AFA928 #2FAF28
monochromatic
#2C114B #481D7D #6528AF #8341D4 #A373DF

Accessibility & contrast

On white

8.48
#6528AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6528AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6528AF#FFFFFF#000000##FFFFFF
##6528AF1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#524C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6528af;
/* rgb */ color: rgb(101, 40, 175);
/* oklch */ color: oklch(44.4% 0.198 298.3);
Tailwind
colors: {
  custom: {
    50: '#9869c8',
    500: '#6528af',
    950: '#000000',
  },
}
SCSS
$custom: #6528af;
$custom-light: #9869c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6528af",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 267.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.19762,
    "h": 298.3
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#6528AF
secondary
#9EC66D
accent
#E6429C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6528AF

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

Preview Lab → · Contrast checker → · Palette generator →

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