#6525A8#6525A8

#6525A8 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.193 H 300.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6525A8
RGBrgb(101, 37, 168)
HSLhsl(269, 64%, 40%)
HSVhsv(269, 78%, 66%)
CMYKcmyk(39.9%, 78%, 0%, 34.1%)
CIE-LABlab(31.62, 52.99, -58.32)
CIE-LCHlch(31.62, 78.80, 312.26°)
OKLaboklab(43.46% 0.0981 -0.1666)
OKLCHoklch(43.46% 0.193 300.5)
XYZxyz(13.0945, 6.9169, 37.6834)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525A8 #68A825
analogous
#2527A8 #6525A8 #A625A8
triadic
#6525A8 #A86525 #25A865
tetradic
#6525A8 #A82527 #68A825 #25A8A6
square
#6525A8 #A82527 #68A825 #25A8A6
split-complementary
#6525A8 #A8A625 #27A825
monochromatic
#290F44 #471A76 #6525A8 #8337D3 #A269DE

Accessibility & contrast

On white

8.81
#6525A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6525A8#FFFFFF#000000##FFFFFF
##6525A81.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#564866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6525a8;
/* rgb */ color: rgb(101, 37, 168);
/* oklch */ color: oklch(43.5% 0.193 300.5);
Tailwind
colors: {
  custom: {
    50: '#9767c3',
    500: '#6525a8',
    950: '#000000',
  },
}
SCSS
$custom: #6525a8;
$custom-light: #9767c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6525a8",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 269.313,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43455,
    "c": 0.19336,
    "h": 300.5
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#6525A8
secondary
#95C465
accent
#E74196
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6525A8

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

Preview Lab → · Contrast checker → · Palette generator →

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