#6526A0#6526A0

#6526A0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.184 H 302.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6526A0
RGBrgb(101, 38, 160)
HSLhsl(271, 62%, 39%)
HSVhsv(271, 76%, 63%)
CMYKcmyk(36.9%, 76.3%, 0%, 37.3%)
CIE-LABlab(31.09, 50.63, -54.34)
CIE-LCHlch(31.09, 74.27, 312.97°)
OKLaboklab(42.88% 0.0992 -0.155)
OKLCHoklch(42.88% 0.184 302.6)
XYZxyz(12.4036, 6.6910, 33.8889)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526A0 #61A026
analogous
#2826A0 #6526A0 #A0269E
triadic
#6526A0 #A06526 #26A065
tetradic
#6526A0 #A02826 #61A026 #269EA0
square
#6526A0 #A02826 #61A026 #269EA0
split-complementary
#6526A0 #9EA026 #26A028
monochromatic
#270F3D #461A6F #6526A0 #8434CF #A266DB

Accessibility & contrast

On white

8.98
#6526A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6526A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526A0
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526A0#FFFFFF#000000##FFFFFF
##6526A01.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#594562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6526a0;
/* rgb */ color: rgb(101, 38, 160);
/* oklch */ color: oklch(42.9% 0.184 302.6);
Tailwind
colors: {
  custom: {
    50: '#9667bd',
    500: '#6526a0',
    950: '#000000',
  },
}
SCSS
$custom: #6526a0;
$custom-light: #9667bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6526a0",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 270.984,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4288,
    "c": 0.18401,
    "h": 302.6
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#6526A0
secondary
#8FC061
accent
#E54391
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6526A0

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

Preview Lab → · Contrast checker → · Palette generator →

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