#6528A2#6528A2

#6528A2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.184 H 301.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6528A2
RGBrgb(101, 40, 162)
HSLhsl(270, 60%, 40%)
HSVhsv(270, 75%, 64%)
CMYKcmyk(37.7%, 75.3%, 0%, 36.5%)
CIE-LABlab(31.56, 50.24, -54.79)
CIE-LCHlch(31.56, 74.34, 312.52°)
OKLaboklab(43.26% 0.0969 -0.1563)
OKLCHoklch(43.26% 0.184 301.8)
XYZxyz(12.6456, 6.8929, 34.8396)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6528A2 #65A228
analogous
#2828A2 #6528A2 #A228A2
triadic
#6528A2 #A26528 #28A265
tetradic
#6528A2 #A22828 #65A228 #28A2A2
square
#6528A2 #A22828 #65A228 #28A2A2
split-complementary
#6528A2 #A2A228 #28A228
monochromatic
#281040 #461C71 #6528A2 #8439CE #A26ADA

Accessibility & contrast

On white

8.83
#6528A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6528A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6528A2#FFFFFF#000000##FFFFFF
##6528A21.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#584763
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6528a2;
/* rgb */ color: rgb(101, 40, 162);
/* oklch */ color: oklch(43.3% 0.184 301.8);
Tailwind
colors: {
  custom: {
    50: '#9768be',
    500: '#6528a2',
    950: '#000000',
  },
}
SCSS
$custom: #6528a2;
$custom-light: #9768be;
$custom-dark: #000000;
JSON
{
  "hex": "#6528a2",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 270,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.1839,
    "h": 301.8
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#6528A2
secondary
#93C165
accent
#E44494
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6528A2

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

Preview Lab → · Contrast checker → · Palette generator →

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