#6527AA#6527AA

#6527AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.193 H 299.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6527AA
RGBrgb(101, 39, 170)
HSLhsl(268, 63%, 41%)
HSVhsv(268, 77%, 67%)
CMYKcmyk(40.6%, 77.1%, 0%, 33.3%)
CIE-LABlab(32.08, 52.65, -58.77)
CIE-LCHlch(32.08, 78.90, 311.86°)
OKLaboklab(43.83% 0.0958 -0.168)
OKLCHoklch(43.83% 0.193 299.7)
XYZxyz(13.3462, 7.1199, 38.6935)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6527AA #6CAA27
analogous
#272AAA #6527AA #A627AA
triadic
#6527AA #AA6527 #27AA65
tetradic
#6527AA #AA272A #6CAA27 #27AAA6
square
#6527AA #AA272A #6CAA27 #27AAA6
split-complementary
#6527AA #AAA627 #2AAA27
monochromatic
#2A1046 #471C78 #6527AA #833CD2 #A36EDE

Accessibility & contrast

On white

8.66
#6527AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6527AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6527AA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6527AA#FFFFFF#000000##FFFFFF
##6527AA1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#554A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6527aa;
/* rgb */ color: rgb(101, 39, 170);
/* oklch */ color: oklch(43.8% 0.193 299.7);
Tailwind
colors: {
  custom: {
    50: '#9768c4',
    500: '#6527aa',
    950: '#000000',
  },
}
SCSS
$custom: #6527aa;
$custom-light: #9768c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6527aa",
  "rgb": {
    "r": 101,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 268.397,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.1934,
    "h": 299.7
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#6527AA
secondary
#99C469
accent
#E64298
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6527AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6527AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva