#6525A0#6525A0

#6525A0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.185 H 302.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6525A0
RGBrgb(101, 37, 160)
HSLhsl(271, 62%, 39%)
HSVhsv(271, 77%, 63%)
CMYKcmyk(36.9%, 76.9%, 0%, 37.3%)
CIE-LABlab(30.94, 51.05, -54.59)
CIE-LCHlch(30.94, 74.74, 313.08°)
OKLaboklab(42.78% 0.1001 -0.1557)
OKLCHoklch(42.78% 0.185 302.7)
XYZxyz(12.3721, 6.6279, 33.8784)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525A0 #60A025
analogous
#2825A0 #6525A0 #A0259D
triadic
#6525A0 #A06525 #25A065
tetradic
#6525A0 #A02825 #60A025 #259DA0
square
#6525A0 #A02825 #60A025 #259DA0
split-complementary
#6525A0 #9DA025 #25A028
monochromatic
#260E3D #461A6E #6525A0 #8432D0 #A264DB

Accessibility & contrast

On white

9.03
#6525A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6525A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6525A0#FFFFFF#000000##FFFFFF
##6525A01.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#594561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6525a0;
/* rgb */ color: rgb(101, 37, 160);
/* oklch */ color: oklch(42.8% 0.185 302.7);
Tailwind
colors: {
  custom: {
    50: '#9767bd',
    500: '#6525a0',
    950: '#000000',
  },
}
SCSS
$custom: #6525a0;
$custom-light: #9767bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6525a0",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 271.22,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42775,
    "c": 0.18509,
    "h": 302.7
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#6525A0
secondary
#8EC160
accent
#E64291
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6525A0

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

Preview Lab → · Contrast checker → · Palette generator →

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