#6524AC#6524AC

#6524AC is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.198 H 299.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6524AC
RGBrgb(101, 36, 172)
HSLhsl(269, 65%, 41%)
HSVhsv(269, 79%, 67%)
CMYKcmyk(41.3%, 79.1%, 0%, 32.5%)
CIE-LABlab(31.82, 54.37, -60.39)
CIE-LCHlch(31.82, 81.26, 312.00°)
OKLaboklab(43.71% 0.0978 -0.1727)
OKLCHoklch(43.71% 0.198 299.5)
XYZxyz(13.4422, 7.0068, 39.6660)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524AC #6BAC24
analogous
#2427AC #6524AC #A924AC
triadic
#6524AC #AC6524 #24AC65
tetradic
#6524AC #AC2427 #6BAC24 #24ACA9
square
#6524AC #AC2427 #6BAC24 #24ACA9
split-complementary
#6524AC #ACA924 #27AC24
monochromatic
#2A0F47 #471979 #6524AC #8338D5 #A36AE0

Accessibility & contrast

On white

8.74
#6524AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6524AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524AC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524AC#FFFFFF#000000##FFFFFF
##6524AC1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#544968
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6524ac;
/* rgb */ color: rgb(101, 36, 172);
/* oklch */ color: oklch(43.7% 0.198 299.5);
Tailwind
colors: {
  custom: {
    50: '#9867c6',
    500: '#6524ac',
    950: '#000000',
  },
}
SCSS
$custom: #6524ac;
$custom-light: #9867c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6524ac",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 268.676,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43705,
    "c": 0.19846,
    "h": 299.5
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#6524AC
secondary
#98C666
accent
#E83F98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6524AC

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

Preview Lab → · Contrast checker → · Palette generator →

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