#6524A8#6524A8

#6524A8 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.194 H 300.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6524A8
RGBrgb(101, 36, 168)
HSLhsl(270, 65%, 40%)
HSVhsv(270, 79%, 66%)
CMYKcmyk(39.9%, 78.6%, 0%, 34.1%)
CIE-LABlab(31.48, 53.40, -58.55)
CIE-LCHlch(31.48, 79.25, 312.36°)
OKLaboklab(43.36% 0.0989 -0.1673)
OKLCHoklch(43.36% 0.194 300.6)
XYZxyz(13.0638, 6.8555, 37.6732)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524A8 #67A824
analogous
#2425A8 #6524A8 #A724A8
triadic
#6524A8 #A86524 #24A865
tetradic
#6524A8 #A82425 #67A824 #24A8A7
square
#6524A8 #A82425 #67A824 #24A8A7
split-complementary
#6524A8 #A8A724 #25A824
monochromatic
#280E43 #471976 #6524A8 #8335D4 #A268DF

Accessibility & contrast

On white

8.86
#6524A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6524A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524A8
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524A8#FFFFFF#000000##FFFFFF
##6524A81.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6524a8;
/* rgb */ color: rgb(101, 36, 168);
/* oklch */ color: oklch(43.4% 0.194 300.6);
Tailwind
colors: {
  custom: {
    50: '#9767c3',
    500: '#6524a8',
    950: '#000000',
  },
}
SCSS
$custom: #6524a8;
$custom-light: #9767c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6524a8",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 269.545,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.19436,
    "h": 300.6
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#6524A8
secondary
#95C463
accent
#E84095
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6524A8

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

Preview Lab → · Contrast checker → · Palette generator →

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