#6526A8#6526A8

#6526A8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.192 H 300.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6526A8
RGBrgb(101, 38, 168)
HSLhsl(269, 63%, 40%)
HSVhsv(269, 77%, 66%)
CMYKcmyk(39.9%, 77.4%, 0%, 34.1%)
CIE-LABlab(31.76, 52.58, -58.09)
CIE-LCHlch(31.76, 78.35, 312.15°)
OKLaboklab(43.56% 0.0972 -0.166)
OKLCHoklch(43.56% 0.192 300.4)
XYZxyz(13.1261, 6.9800, 37.6939)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526A8 #69A826
analogous
#2628A8 #6526A8 #A626A8
triadic
#6526A8 #A86526 #26A865
tetradic
#6526A8 #A82628 #69A826 #26A8A6
square
#6526A8 #A82628 #69A826 #26A8A6
split-complementary
#6526A8 #A8A626 #28A826
monochromatic
#290F44 #471B76 #6526A8 #8339D2 #A26BDE

Accessibility & contrast

On white

8.76
#6526A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6526A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526A8
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526A8#FFFFFF#000000##FFFFFF
##6526A81.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6526a8;
/* rgb */ color: rgb(101, 38, 168);
/* oklch */ color: oklch(43.6% 0.192 300.4);
Tailwind
colors: {
  custom: {
    50: '#9768c3',
    500: '#6526a8',
    950: '#000000',
  },
}
SCSS
$custom: #6526a8;
$custom-light: #9768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6526a8",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 269.077,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43556,
    "c": 0.19234,
    "h": 300.4
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#6526A8
secondary
#96C466
accent
#E64296
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6526A8

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

Preview Lab → · Contrast checker → · Palette generator →

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