#6524BD#6524BD

#6524BD is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.216 H 295.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6524BD
RGBrgb(101, 36, 189)
HSLhsl(265, 68%, 44%)
HSVhsv(265, 81%, 74%)
CMYKcmyk(46.6%, 81%, 0%, 25.9%)
CIE-LABlab(33.35, 58.54, -67.98)
CIE-LCHlch(33.35, 89.72, 310.73°)
OKLaboklab(45.24% 0.0925 -0.195)
OKLCHoklch(45.24% 0.216 295.4)
XYZxyz(15.1805, 7.7022, 48.8211)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524BD #7CBD24
analogous
#2430BD #6524BD #B224BD
triadic
#6524BD #BD6524 #24BD65
tetradic
#6524BD #BD2430 #7CBD24 #24BDB2
square
#6524BD #BD2430 #7CBD24 #24BDB2
split-complementary
#6524BD #BDB224 #30BD24
monochromatic
#2E1056 #4A1A8A #6524BD #8443DB #A576E5

Accessibility & contrast

On white

8.27
#6524BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6524BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524BD
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524BD#FFFFFF#000000##FFFFFF
##6524BD1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#4B5172
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6524bd;
/* rgb */ color: rgb(101, 36, 189);
/* oklch */ color: oklch(45.2% 0.216 295.4);
Tailwind
colors: {
  custom: {
    50: '#9a68d2',
    500: '#6524bd',
    950: '#000000',
  },
}
SCSS
$custom: #6524bd;
$custom-light: #9a68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6524bd",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 265.49,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.21581,
    "h": 295.4
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#6524BD
secondary
#A5CC70
accent
#EB3DA1
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6524BD

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

Preview Lab → · Contrast checker → · Palette generator →

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