#6526A6#6526A6

#6526A6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.190 H 300.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6526A6
RGBrgb(101, 38, 166)
HSLhsl(270, 63%, 40%)
HSVhsv(270, 77%, 65%)
CMYKcmyk(39.2%, 77.1%, 0%, 34.9%)
CIE-LABlab(31.59, 52.09, -57.16)
CIE-LCHlch(31.59, 77.33, 312.34°)
OKLaboklab(43.39% 0.0977 -0.1632)
OKLCHoklch(43.39% 0.19 300.9)
XYZxyz(12.9412, 6.9060, 36.7202)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526A6 #67A626
analogous
#2627A6 #6526A6 #A526A6
triadic
#6526A6 #A66526 #26A665
tetradic
#6526A6 #A62627 #67A626 #26A6A5
square
#6526A6 #A62627 #67A626 #26A6A5
split-complementary
#6526A6 #A6A526 #27A626
monochromatic
#280F42 #471B74 #6526A6 #8338D1 #A26ADD

Accessibility & contrast

On white

8.82
#6526A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6526A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526A6
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526A6#FFFFFF#000000##FFFFFF
##6526A61.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6526a6;
/* rgb */ color: rgb(101, 38, 166);
/* oklch */ color: oklch(43.4% 0.190 300.9);
Tailwind
colors: {
  custom: {
    50: '#9767c1',
    500: '#6526a6',
    950: '#000000',
  },
}
SCSS
$custom: #6526a6;
$custom-light: #9767c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6526a6",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 269.531,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.43385,
    "c": 0.19026,
    "h": 300.9
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6526A6

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

Preview Lab → · Contrast checker → · Palette generator →

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