#6525AF#6525AF

#6525AF is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.201 H 298.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6525AF
RGBrgb(101, 37, 175)
HSLhsl(268, 65%, 42%)
HSVhsv(268, 79%, 69%)
CMYKcmyk(42.3%, 78.9%, 0%, 31.4%)
CIE-LABlab(32.22, 54.71, -61.53)
CIE-LCHlch(32.22, 82.33, 311.64°)
OKLaboklab(44.07% 0.0961 -0.1761)
OKLCHoklch(44.07% 0.201 298.6)
XYZxyz(13.7643, 7.1848, 41.2107)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6525AF #6FAF25
analogous
#252AAF #6525AF #AA25AF
triadic
#6525AF #AF6525 #25AF65
tetradic
#6525AF #AF252A #6FAF25 #25AFAA
square
#6525AF #AF252A #6FAF25 #25AFAA
split-complementary
#6525AF #AFAA25 #2AAF25
monochromatic
#2B104A #481A7C #6525AF #833CD6 #A36EE0

Accessibility & contrast

On white

8.62
#6525AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6525AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6525AF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6525AF#FFFFFF#000000##FFFFFF
##6525AF1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#524B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6525af;
/* rgb */ color: rgb(101, 37, 175);
/* oklch */ color: oklch(44.1% 0.201 298.6);
Tailwind
colors: {
  custom: {
    50: '#9867c8',
    500: '#6525af',
    950: '#000000',
  },
}
SCSS
$custom: #6525af;
$custom-light: #9867c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6525af",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 267.826,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44066,
    "c": 0.20058,
    "h": 298.6
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#6525AF
secondary
#9BC769
accent
#E8409A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6525AF

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

Preview Lab → · Contrast checker → · Palette generator →

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