#6524AF#6524AF

#6524AF is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.202 H 298.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6524AF
RGBrgb(101, 36, 175)
HSLhsl(268, 66%, 41%)
HSVhsv(268, 79%, 69%)
CMYKcmyk(42.3%, 79.4%, 0%, 31.4%)
CIE-LABlab(32.09, 55.10, -61.75)
CIE-LCHlch(32.09, 82.76, 311.74°)
OKLaboklab(43.97% 0.0969 -0.1767)
OKLCHoklch(43.97% 0.202 298.7)
XYZxyz(13.7336, 7.1234, 41.2005)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524AF #6EAF24
analogous
#2428AF #6524AF #AB24AF
triadic
#6524AF #AF6524 #24AF65
tetradic
#6524AF #AF2428 #6EAF24 #24AFAB
square
#6524AF #AF2428 #6EAF24 #24AFAB
split-complementary
#6524AF #AFAB24 #28AF24
monochromatic
#2A0F49 #481A7C #6524AF #833AD6 #A36DE1

Accessibility & contrast

On white

8.66
#6524AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6524AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524AF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524AF#FFFFFF#000000##FFFFFF
##6524AF1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6524af;
/* rgb */ color: rgb(101, 36, 175);
/* oklch */ color: oklch(44.0% 0.202 298.7);
Tailwind
colors: {
  custom: {
    50: '#9867c8',
    500: '#6524af',
    950: '#000000',
  },
}
SCSS
$custom: #6524af;
$custom-light: #9867c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6524af",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 268.058,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4397,
    "c": 0.20153,
    "h": 298.7
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#6524AF
secondary
#9AC768
accent
#E93F99
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6524AF

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

Preview Lab → · Contrast checker → · Palette generator →

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