#6524A6#6524A6

#6524A6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.192 H 301.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6524A6
RGBrgb(101, 36, 166)
HSLhsl(270, 64%, 40%)
HSVhsv(270, 78%, 65%)
CMYKcmyk(39.2%, 78.3%, 0%, 34.9%)
CIE-LABlab(31.30, 52.92, -57.63)
CIE-LCHlch(31.30, 78.24, 312.56°)
OKLaboklab(43.18% 0.0994 -0.1646)
OKLCHoklch(43.18% 0.192 301.1)
XYZxyz(12.8789, 6.7815, 36.6994)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524A6 #65A624
analogous
#2424A6 #6524A6 #A624A6
triadic
#6524A6 #A66524 #24A665
tetradic
#6524A6 #A62424 #65A624 #24A6A6
square
#6524A6 #A62424 #65A624 #24A6A6
split-complementary
#6524A6 #A6A624 #24A624
monochromatic
#280E41 #461974 #6524A6 #8434D3 #A266DE

Accessibility & contrast

On white

8.91
#6524A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6524A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524A6
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524A6#FFFFFF#000000##FFFFFF
##6524A61.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#564764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6524a6;
/* rgb */ color: rgb(101, 36, 166);
/* oklch */ color: oklch(43.2% 0.192 301.1);
Tailwind
colors: {
  custom: {
    50: '#9766c1',
    500: '#6524a6',
    950: '#000000',
  },
}
SCSS
$custom: #6524a6;
$custom-light: #9766c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6524a6",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 270,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43184,
    "c": 0.19231,
    "h": 301.1
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#6524A6
secondary
#93C462
accent
#E74094
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6524A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6524A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva