#6525AC#6525AC

#6525AC is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.197 H 299.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6525AC
RGBrgb(101, 37, 172)
HSLhsl(268, 65%, 41%)
HSVhsv(268, 78%, 67%)
CMYKcmyk(41.3%, 78.5%, 0%, 32.5%)
CIE-LABlab(31.96, 53.97, -60.16)
CIE-LCHlch(31.96, 80.82, 311.90°)
OKLaboklab(43.8% 0.097 -0.172)
OKLCHoklch(43.8% 0.197 299.4)
XYZxyz(13.4729, 7.0682, 39.6762)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525AC #6CAC25
analogous
#2529AC #6525AC #A825AC
triadic
#6525AC #AC6525 #25AC65
tetradic
#6525AC #AC2529 #6CAC25 #25ACA8
square
#6525AC #AC2529 #6CAC25 #25ACA8
split-complementary
#6525AC #ACA825 #29AC25
monochromatic
#2A0F47 #471A7A #6525AC #833AD5 #A36CDF

Accessibility & contrast

On white

8.70
#6525AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6525AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6525AC#FFFFFF#000000##FFFFFF
##6525AC1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#544A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6525ac;
/* rgb */ color: rgb(101, 37, 172);
/* oklch */ color: oklch(43.8% 0.197 299.4);
Tailwind
colors: {
  custom: {
    50: '#9867c6',
    500: '#6525ac',
    950: '#000000',
  },
}
SCSS
$custom: #6525ac;
$custom-light: #9867c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6525ac",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 268.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.19749,
    "h": 299.4
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#6525AC
secondary
#99C667
accent
#E84098
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6525AC

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

Preview Lab → · Contrast checker → · Palette generator →

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