#6525A2#6525A2

#6525A2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.187 H 302.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6525A2
RGBrgb(101, 37, 162)
HSLhsl(271, 63%, 39%)
HSVhsv(271, 77%, 64%)
CMYKcmyk(37.7%, 77.2%, 0%, 36.5%)
CIE-LABlab(31.11, 51.54, -55.53)
CIE-LCHlch(31.11, 75.76, 312.86°)
OKLaboklab(42.94% 0.0996 -0.1584)
OKLCHoklch(42.94% 0.187 302.2)
XYZxyz(12.5484, 6.6984, 34.8072)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525A2 #62A225
analogous
#2725A2 #6525A2 #A225A1
triadic
#6525A2 #A26525 #25A265
tetradic
#6525A2 #A22725 #62A225 #25A1A2
square
#6525A2 #A22725 #62A225 #25A1A2
split-complementary
#6525A2 #A1A225 #25A227
monochromatic
#270E3E #461A70 #6525A2 #8434D1 #A265DC

Accessibility & contrast

On white

8.98
#6525A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6525A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6525A2#FFFFFF#000000##FFFFFF
##6525A21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#584562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6525a2;
/* rgb */ color: rgb(101, 37, 162);
/* oklch */ color: oklch(42.9% 0.187 302.2);
Tailwind
colors: {
  custom: {
    50: '#9767be',
    500: '#6525a2',
    950: '#000000',
  },
}
SCSS
$custom: #6525a2;
$custom-light: #9767be;
$custom-dark: #000000;
JSON
{
  "hex": "#6525a2",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 270.72,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.18716,
    "h": 302.2
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#6525A2
secondary
#90C261
accent
#E64292
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6525A2

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

Preview Lab → · Contrast checker → · Palette generator →

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