#6526AE#6526AE

#6526AE is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.199 H 298.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6526AE
RGBrgb(101, 38, 174)
HSLhsl(268, 64%, 42%)
HSVhsv(268, 78%, 68%)
CMYKcmyk(42%, 78.2%, 0%, 31.8%)
CIE-LABlab(32.28, 54.05, -60.84)
CIE-LCHlch(32.28, 81.38, 311.62°)
OKLaboklab(44.08% 0.0956 -0.1741)
OKLCHoklch(44.08% 0.199 298.8)
XYZxyz(13.6980, 7.2087, 40.7059)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526AE #6FAE26
analogous
#262BAE #6526AE #A926AE
triadic
#6526AE #AE6526 #26AE65
tetradic
#6526AE #AE262B #6FAE26 #26AEA9
square
#6526AE #AE262B #6FAE26 #26AEA9
split-complementary
#6526AE #AEA926 #2BAE26
monochromatic
#2B104A #481B7C #6526AE #833DD5 #A36FE0

Accessibility & contrast

On white

8.60
#6526AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6526AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526AE
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526AE#FFFFFF#000000##FFFFFF
##6526AE1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#534B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6526ae;
/* rgb */ color: rgb(101, 38, 174);
/* oklch */ color: oklch(44.1% 0.199 298.8);
Tailwind
colors: {
  custom: {
    50: '#9868c7',
    500: '#6526ae',
    950: '#000000',
  },
}
SCSS
$custom: #6526ae;
$custom-light: #9868c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6526ae",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 267.794,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44076,
    "c": 0.19858,
    "h": 298.8
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#6526AE
secondary
#9BC66A
accent
#E7419A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6526AE

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

Preview Lab → · Contrast checker → · Palette generator →

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