#6525AE#6525AE

#6525AE is a dark, vivid violet. Relative luminance 0.071; OKLCH L 44.0% C 0.200 H 298.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6525AE
RGBrgb(101, 37, 174)
HSLhsl(268, 65%, 41%)
HSVhsv(268, 79%, 68%)
CMYKcmyk(42%, 78.7%, 0%, 31.8%)
CIE-LABlab(32.14, 54.46, -61.07)
CIE-LCHlch(32.14, 81.83, 311.73°)
OKLaboklab(43.98% 0.0964 -0.1747)
OKLCHoklch(43.98% 0.2 298.9)
XYZxyz(13.6664, 7.1456, 40.6954)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525AE #6EAE25
analogous
#252AAE #6525AE #AA25AE
triadic
#6525AE #AE6525 #25AE65
tetradic
#6525AE #AE252A #6EAE25 #25AEAA
square
#6525AE #AE252A #6EAE25 #25AEAA
split-complementary
#6525AE #AEAA25 #2AAE25
monochromatic
#2A1049 #481A7C #6525AE #833BD5 #A36DE0

Accessibility & contrast

On white

8.64
#6525AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6525AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6525AE#FFFFFF#000000##FFFFFF
##6525AE1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#534B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6525ae;
/* rgb */ color: rgb(101, 37, 174);
/* oklch */ color: oklch(44.0% 0.200 298.9);
Tailwind
colors: {
  custom: {
    50: '#9867c7',
    500: '#6525ae',
    950: '#000000',
  },
}
SCSS
$custom: #6525ae;
$custom-light: #9867c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6525ae",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 268.029,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43978,
    "c": 0.19955,
    "h": 298.9
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#6525AE
secondary
#9AC668
accent
#E84099
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6525AE

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

Preview Lab → · Contrast checker → · Palette generator →

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