#6525A4#6525A4

#6525A4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.189 H 301.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#6525A4
RGBrgb(101, 37, 164)
HSLhsl(270, 63%, 39%)
HSVhsv(270, 77%, 64%)
CMYKcmyk(38.4%, 77.4%, 0%, 35.7%)
CIE-LABlab(31.28, 52.02, -56.46)
CIE-LCHlch(31.28, 76.77, 312.65°)
OKLaboklab(43.11% 0.0991 -0.1612)
OKLCHoklch(43.11% 0.189 301.6)
XYZxyz(12.7276, 6.7701, 35.7510)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525A4 #64A425
analogous
#2525A4 #6525A4 #A425A4
triadic
#6525A4 #A46525 #25A465
tetradic
#6525A4 #A42525 #64A425 #25A4A4
square
#6525A4 #A42525 #64A425 #25A4A4
split-complementary
#6525A4 #A4A425 #25A425
monochromatic
#270E40 #461A72 #6525A4 #8435D1 #A267DD

Accessibility & contrast

On white

8.92
#6525A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6525A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6525A4
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6525A4#FFFFFF#000000##FFFFFF
##6525A41.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#574664
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6525a4;
/* rgb */ color: rgb(101, 37, 164);
/* oklch */ color: oklch(43.1% 0.189 301.6);
Tailwind
colors: {
  custom: {
    50: '#9767c0',
    500: '#6525a4',
    950: '#000000',
  },
}
SCSS
$custom: #6525a4;
$custom-light: #9767c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6525a4",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 270.236,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.18923,
    "h": 301.6
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#6525A4
secondary
#92C262
accent
#E64293
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6525A4

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

Preview Lab → · Contrast checker → · Palette generator →

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