#6524BC#6524BC

#6524BC is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.215 H 295.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6524BC
RGBrgb(101, 36, 188)
HSLhsl(266, 68%, 44%)
HSVhsv(266, 81%, 74%)
CMYKcmyk(46.3%, 80.9%, 0%, 26.3%)
CIE-LABlab(33.26, 58.30, -67.55)
CIE-LCHlch(33.26, 89.22, 310.80°)
OKLaboklab(45.15% 0.0928 -0.1937)
OKLCHoklch(45.15% 0.215 295.6)
XYZxyz(15.0724, 7.6589, 48.2514)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524BC #7BBC24
analogous
#242FBC #6524BC #B124BC
triadic
#6524BC #BC6524 #24BC65
tetradic
#6524BC #BC242F #7BBC24 #24BCB1
square
#6524BC #BC242F #7BBC24 #24BCB1
split-complementary
#6524BC #BCB124 #2FBC24
monochromatic
#2E1055 #491A89 #6524BC #8442DB #A576E5

Accessibility & contrast

On white

8.29
#6524BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6524BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524BC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524BC#FFFFFF#000000##FFFFFF
##6524BC1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#4C5071
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6524bc;
/* rgb */ color: rgb(101, 36, 188);
/* oklch */ color: oklch(45.1% 0.215 295.6);
Tailwind
colors: {
  custom: {
    50: '#9a68d1',
    500: '#6524bc',
    950: '#000000',
  },
}
SCSS
$custom: #6524bc;
$custom-light: #9a68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6524bc",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 265.658,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45146,
    "c": 0.21479,
    "h": 295.6
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6524BC

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

Preview Lab → · Contrast checker → · Palette generator →

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