#6524A7#6524A7

#6524A7 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.193 H 300.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6524A7
RGBrgb(101, 36, 167)
HSLhsl(270, 65%, 40%)
HSVhsv(270, 78%, 65%)
CMYKcmyk(39.5%, 78.4%, 0%, 34.5%)
CIE-LABlab(31.39, 53.16, -58.09)
CIE-LCHlch(31.39, 78.74, 312.46°)
OKLaboklab(43.27% 0.0992 -0.166)
OKLCHoklch(43.27% 0.193 300.9)
XYZxyz(12.9710, 6.8184, 37.1844)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524A7 #66A724
analogous
#2425A7 #6524A7 #A724A7
triadic
#6524A7 #A76524 #24A765
tetradic
#6524A7 #A72425 #66A724 #24A7A7
square
#6524A7 #A72425 #66A724 #24A7A7
split-complementary
#6524A7 #A7A724 #25A724
monochromatic
#280E42 #471975 #6524A7 #8335D3 #A267DE

Accessibility & contrast

On white

8.88
#6524A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6524A7
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524A7#FFFFFF#000000##FFFFFF
##6524A71.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#564765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6524a7;
/* rgb */ color: rgb(101, 36, 167);
/* oklch */ color: oklch(43.3% 0.193 300.9);
Tailwind
colors: {
  custom: {
    50: '#9767c2',
    500: '#6524a7',
    950: '#000000',
  },
}
SCSS
$custom: #6524a7;
$custom-light: #9767c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6524a7",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 269.771,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4327,
    "c": 0.19334,
    "h": 300.9
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#6524A7
secondary
#94C463
accent
#E84095
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6524A7

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

Preview Lab → · Contrast checker → · Palette generator →

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