#6527A2#6527A2

#6527A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.185 H 301.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6527A2
RGBrgb(101, 39, 162)
HSLhsl(270, 61%, 39%)
HSVhsv(270, 76%, 64%)
CMYKcmyk(37.7%, 75.9%, 0%, 36.5%)
CIE-LABlab(31.41, 50.68, -55.04)
CIE-LCHlch(31.41, 74.82, 312.64°)
OKLaboklab(43.15% 0.0978 -0.157)
OKLCHoklch(43.15% 0.185 301.9)
XYZxyz(12.6124, 6.8263, 34.8286)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6527A2 #64A227
analogous
#2827A2 #6527A2 #A227A2
triadic
#6527A2 #A26527 #27A265
tetradic
#6527A2 #A22827 #64A227 #27A2A2
square
#6527A2 #A22827 #64A227 #27A2A2
split-complementary
#6527A2 #A2A227 #27A228
monochromatic
#270F3F #461B71 #6527A2 #8437CF #A269DB

Accessibility & contrast

On white

8.88
#6527A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6527A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6527A2#FFFFFF#000000##FFFFFF
##6527A21.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#584663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6527a2;
/* rgb */ color: rgb(101, 39, 162);
/* oklch */ color: oklch(43.2% 0.185 301.9);
Tailwind
colors: {
  custom: {
    50: '#9768be',
    500: '#6527a2',
    950: '#000000',
  },
}
SCSS
$custom: #6527a2;
$custom-light: #9768be;
$custom-dark: #000000;
JSON
{
  "hex": "#6527a2",
  "rgb": {
    "r": 101,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 270.244,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43153,
    "c": 0.18501,
    "h": 301.9
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#6527A2
secondary
#92C164
accent
#E44393
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6527A2

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

Preview Lab → · Contrast checker → · Palette generator →

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