#6525AA#6525AA

#6525AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.195 H 299.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6525AA
RGBrgb(101, 37, 170)
HSLhsl(269, 64%, 41%)
HSVhsv(269, 78%, 67%)
CMYKcmyk(40.6%, 78.2%, 0%, 33.3%)
CIE-LABlab(31.79, 53.48, -59.24)
CIE-LCHlch(31.79, 79.81, 312.07°)
OKLaboklab(43.63% 0.0975 -0.1694)
OKLCHoklch(43.63% 0.195 299.9)
XYZxyz(13.2823, 6.9920, 38.6722)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525AA #6AAA25
analogous
#2528AA #6525AA #A725AA
triadic
#6525AA #AA6525 #25AA65
tetradic
#6525AA #AA2528 #6AAA25 #25AAA7
square
#6525AA #AA2528 #6AAA25 #25AAA7
split-complementary
#6525AA #AAA725 #28AA25
monochromatic
#290F45 #471A78 #6525AA #8338D4 #A36BDF

Accessibility & contrast

On white

8.76
#6525AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6525AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6525AA#FFFFFF#000000##FFFFFF
##6525AA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#554967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6525aa;
/* rgb */ color: rgb(101, 37, 170);
/* oklch */ color: oklch(43.6% 0.195 299.9);
Tailwind
colors: {
  custom: {
    50: '#9867c4',
    500: '#6525aa',
    950: '#000000',
  },
}
SCSS
$custom: #6525aa;
$custom-light: #9867c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6525aa",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 268.872,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.19543,
    "h": 299.9
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#6525AA
secondary
#97C566
accent
#E74197
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6525AA

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

Preview Lab → · Contrast checker → · Palette generator →

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