#6524A2#6524A2

#6524A2 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.188 H 302.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6524A2
RGBrgb(101, 36, 162)
HSLhsl(271, 64%, 39%)
HSVhsv(271, 78%, 64%)
CMYKcmyk(37.7%, 77.8%, 0%, 36.5%)
CIE-LABlab(30.97, 51.95, -55.76)
CIE-LCHlch(30.97, 76.21, 312.97°)
OKLaboklab(42.84% 0.1005 -0.1591)
OKLCHoklch(42.84% 0.188 302.3)
XYZxyz(12.5177, 6.6371, 34.7970)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524A2 #61A224
analogous
#2624A2 #6524A2 #A224A0
triadic
#6524A2 #A26524 #24A265
tetradic
#6524A2 #A22624 #61A224 #24A0A2
square
#6524A2 #A22624 #61A224 #24A0A2
split-complementary
#6524A2 #A0A224 #24A226
monochromatic
#270E3E #461970 #6524A2 #8432D1 #A264DD

Accessibility & contrast

On white

9.02
#6524A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6524A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524A2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524A2#FFFFFF#000000##FFFFFF
##6524A21.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#584562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6524a2;
/* rgb */ color: rgb(101, 36, 162);
/* oklch */ color: oklch(42.8% 0.188 302.3);
Tailwind
colors: {
  custom: {
    50: '#9766be',
    500: '#6524a2',
    950: '#000000',
  },
}
SCSS
$custom: #6524a2;
$custom-light: #9766be;
$custom-dark: #000000;
JSON
{
  "hex": "#6524a2",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 270.952,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.1882,
    "h": 302.3
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#6524A2
secondary
#8FC260
accent
#E74191
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6524A2

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

Preview Lab → · Contrast checker → · Palette generator →

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