#6526A7#6526A7

#6526A7 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.191 H 300.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6526A7
RGBrgb(101, 38, 167)
HSLhsl(269, 63%, 40%)
HSVhsv(269, 77%, 65%)
CMYKcmyk(39.5%, 77.2%, 0%, 34.5%)
CIE-LABlab(31.68, 52.33, -57.62)
CIE-LCHlch(31.68, 77.84, 312.25°)
OKLaboklab(43.47% 0.0975 -0.1646)
OKLCHoklch(43.47% 0.191 300.6)
XYZxyz(13.0333, 6.9428, 37.2052)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526A7 #68A726
analogous
#2628A7 #6526A7 #A526A7
triadic
#6526A7 #A76526 #26A765
tetradic
#6526A7 #A72628 #68A726 #26A7A5
square
#6526A7 #A72628 #68A726 #26A7A5
split-complementary
#6526A7 #A7A526 #28A726
monochromatic
#290F43 #471B75 #6526A7 #8338D2 #A26ADD

Accessibility & contrast

On white

8.79
#6526A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6526A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526A7
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526A7#FFFFFF#000000##FFFFFF
##6526A71.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#564865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6526a7;
/* rgb */ color: rgb(101, 38, 167);
/* oklch */ color: oklch(43.5% 0.191 300.6);
Tailwind
colors: {
  custom: {
    50: '#9768c2',
    500: '#6526a7',
    950: '#000000',
  },
}
SCSS
$custom: #6526a7;
$custom-light: #9768c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6526a7",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 269.302,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43471,
    "c": 0.1913,
    "h": 300.6
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#6526A7
secondary
#95C365
accent
#E64296
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6526A7

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

Preview Lab → · Contrast checker → · Palette generator →

#6526A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva