#6525A6#6525A6

#6525A6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.191 H 301.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6525A6
RGBrgb(101, 37, 166)
HSLhsl(270, 64%, 40%)
HSVhsv(270, 78%, 65%)
CMYKcmyk(39.2%, 77.7%, 0%, 34.9%)
CIE-LABlab(31.45, 52.51, -57.39)
CIE-LCHlch(31.45, 77.79, 312.45°)
OKLaboklab(43.28% 0.0986 -0.1639)
OKLCHoklch(43.28% 0.191 301)
XYZxyz(12.9096, 6.8429, 36.7097)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525A6 #66A625
analogous
#2526A6 #6525A6 #A525A6
triadic
#6525A6 #A66525 #25A665
tetradic
#6525A6 #A62526 #66A625 #25A6A5
square
#6525A6 #A62526 #66A625 #25A6A5
split-complementary
#6525A6 #A6A525 #26A625
monochromatic
#280F42 #471A74 #6525A6 #8336D2 #A268DD

Accessibility & contrast

On white

8.87
#6525A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6525A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6525A6
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6525A6#FFFFFF#000000##FFFFFF
##6525A61.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#564765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6525a6;
/* rgb */ color: rgb(101, 37, 166);
/* oklch */ color: oklch(43.3% 0.191 301.0);
Tailwind
colors: {
  custom: {
    50: '#9767c1',
    500: '#6525a6',
    950: '#000000',
  },
}
SCSS
$custom: #6525a6;
$custom-light: #9767c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6525a6",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 269.767,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43283,
    "c": 0.19129,
    "h": 301
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#6525A6
secondary
#94C364
accent
#E74195
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6525A6

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

Preview Lab → · Contrast checker → · Palette generator →

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