#6524A5#6524A5

#6524A5 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.191 H 301.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6524A5
RGBrgb(101, 36, 165)
HSLhsl(270, 64%, 39%)
HSVhsv(270, 78%, 65%)
CMYKcmyk(38.8%, 78.2%, 0%, 35.3%)
CIE-LABlab(31.22, 52.67, -57.16)
CIE-LCHlch(31.22, 77.73, 312.66°)
OKLaboklab(43.1% 0.0997 -0.1632)
OKLCHoklch(43.1% 0.191 301.4)
XYZxyz(12.7876, 6.7450, 36.2182)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524A5 #64A524
analogous
#2524A5 #6524A5 #A524A4
triadic
#6524A5 #A56524 #24A565
tetradic
#6524A5 #A52524 #64A524 #24A4A5
square
#6524A5 #A52524 #64A524 #24A4A5
split-complementary
#6524A5 #A4A524 #24A525
monochromatic
#270E41 #461973 #6524A5 #8434D3 #A266DE

Accessibility & contrast

On white

8.94
#6524A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6524A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524A5
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524A5#FFFFFF#000000##FFFFFF
##6524A51.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#574664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6524a5;
/* rgb */ color: rgb(101, 36, 165);
/* oklch */ color: oklch(43.1% 0.191 301.4);
Tailwind
colors: {
  custom: {
    50: '#9766c1',
    500: '#6524a5',
    950: '#000000',
  },
}
SCSS
$custom: #6524a5;
$custom-light: #9766c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6524a5",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 270.233,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.19129,
    "h": 301.4
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#6524A5
secondary
#92C362
accent
#E74193
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6524A5

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

Preview Lab → · Contrast checker → · Palette generator →

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