#6526A2#6526A2

#6526A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.186 H 302.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6526A2
RGBrgb(101, 38, 162)
HSLhsl(270, 62%, 39%)
HSVhsv(270, 77%, 64%)
CMYKcmyk(37.7%, 76.5%, 0%, 36.5%)
CIE-LABlab(31.26, 51.11, -55.29)
CIE-LCHlch(31.26, 75.29, 312.75°)
OKLaboklab(43.05% 0.0987 -0.1577)
OKLCHoklch(43.05% 0.186 302)
XYZxyz(12.5800, 6.7615, 34.8178)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6526A2 #63A226
analogous
#2726A2 #6526A2 #A226A1
triadic
#6526A2 #A26526 #26A265
tetradic
#6526A2 #A22726 #63A226 #26A1A2
square
#6526A2 #A22726 #63A226 #26A1A2
split-complementary
#6526A2 #A1A226 #26A227
monochromatic
#270F3F #461A70 #6526A2 #8435D0 #A267DB

Accessibility & contrast

On white

8.93
#6526A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6526A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6526A2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6526A2#FFFFFF#000000##FFFFFF
##6526A21.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#584663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6526a2;
/* rgb */ color: rgb(101, 38, 162);
/* oklch */ color: oklch(43.0% 0.186 302.0);
Tailwind
colors: {
  custom: {
    50: '#9767be',
    500: '#6526a2',
    950: '#000000',
  },
}
SCSS
$custom: #6526a2;
$custom-light: #9767be;
$custom-dark: #000000;
JSON
{
  "hex": "#6526a2",
  "rgb": {
    "r": 101,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 270.484,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43047,
    "c": 0.1861,
    "h": 302
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#6526A2
secondary
#91C163
accent
#E54393
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6526A2

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

Preview Lab → · Contrast checker → · Palette generator →

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