#6529A2#6529A2

#6529A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.183 H 301.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6529A2
RGBrgb(101, 41, 162)
HSLhsl(270, 60%, 40%)
HSVhsv(270, 75%, 64%)
CMYKcmyk(37.7%, 74.7%, 0%, 36.5%)
CIE-LABlab(31.72, 49.80, -54.54)
CIE-LCHlch(31.72, 73.85, 312.40°)
OKLaboklab(43.37% 0.0959 -0.1556)
OKLCHoklch(43.37% 0.183 301.7)
XYZxyz(12.6798, 6.9612, 34.8510)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6529A2 #66A229
analogous
#292AA2 #6529A2 #A229A2
triadic
#6529A2 #A26529 #29A265
tetradic
#6529A2 #A2292A #66A229 #29A2A2
square
#6529A2 #A2292A #66A229 #29A2A2
split-complementary
#6529A2 #A2A229 #2AA229
monochromatic
#281040 #471D71 #6529A2 #833BCD #A26CDA

Accessibility & contrast

On white

8.78
#6529A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6529A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6529A2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6529A2#FFFFFF#000000##FFFFFF
##6529A21.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#584763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6529a2;
/* rgb */ color: rgb(101, 41, 162);
/* oklch */ color: oklch(43.4% 0.183 301.7);
Tailwind
colors: {
  custom: {
    50: '#9769be',
    500: '#6529a2',
    950: '#000000',
  },
}
SCSS
$custom: #6529a2;
$custom-light: #9769be;
$custom-dark: #000000;
JSON
{
  "hex": "#6529a2",
  "rgb": {
    "r": 101,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 269.752,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.18277,
    "h": 301.7
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#6529A2
secondary
#94C067
accent
#E34595
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6529A2

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

Preview Lab → · Contrast checker → · Palette generator →

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