#6525A7#6525A7

#6525A7 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.192 H 300.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6525A7
RGBrgb(101, 37, 167)
HSLhsl(270, 64%, 40%)
HSVhsv(270, 78%, 65%)
CMYKcmyk(39.5%, 77.8%, 0%, 34.5%)
CIE-LABlab(31.53, 52.75, -57.86)
CIE-LCHlch(31.53, 78.29, 312.35°)
OKLaboklab(43.37% 0.0983 -0.1653)
OKLCHoklch(43.37% 0.192 300.7)
XYZxyz(13.0017, 6.8798, 37.1947)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525A7 #67A725
analogous
#2526A7 #6525A7 #A625A7
triadic
#6525A7 #A76525 #25A765
tetradic
#6525A7 #A72526 #67A725 #25A7A6
square
#6525A7 #A72526 #67A725 #25A7A6
split-complementary
#6525A7 #A7A625 #26A725
monochromatic
#280F43 #471A75 #6525A7 #8337D3 #A269DE

Accessibility & contrast

On white

8.84
#6525A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6525A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6525A7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6525A7#FFFFFF#000000##FFFFFF
##6525A71.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#564865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6525a7;
/* rgb */ color: rgb(101, 37, 167);
/* oklch */ color: oklch(43.4% 0.192 300.7);
Tailwind
colors: {
  custom: {
    50: '#9767c2',
    500: '#6525a7',
    950: '#000000',
  },
}
SCSS
$custom: #6525a7;
$custom-light: #9767c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6525a7",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 269.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.43369,
    "c": 0.19234,
    "h": 300.7
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#6525A7
secondary
#95C464
accent
#E74195
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6525A7

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

Preview Lab → · Contrast checker → · Palette generator →

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