#6524B1#6524B1

#6524B1 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.204 H 298.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6524B1
RGBrgb(101, 36, 177)
HSLhsl(268, 66%, 42%)
HSVhsv(268, 80%, 69%)
CMYKcmyk(42.9%, 79.7%, 0%, 30.6%)
CIE-LABlab(32.26, 55.59, -62.66)
CIE-LCHlch(32.26, 83.76, 311.58°)
OKLaboklab(44.15% 0.0963 -0.1794)
OKLCHoklch(44.15% 0.204 298.2)
XYZxyz(13.9315, 7.2025, 42.2427)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524B1 #70B124
analogous
#2429B1 #6524B1 #AC24B1
triadic
#6524B1 #B16524 #24B165
tetradic
#6524B1 #B12429 #70B124 #24B1AC
square
#6524B1 #B12429 #70B124 #24B1AC
split-complementary
#6524B1 #B1AC24 #29B124
monochromatic
#2B0F4B #481A7E #6524B1 #833BD7 #A36EE1

Accessibility & contrast

On white

8.60
#6524B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6524B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524B1
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524B1#FFFFFF#000000##FFFFFF
##6524B11.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#524B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6524b1;
/* rgb */ color: rgb(101, 36, 177);
/* oklch */ color: oklch(44.1% 0.204 298.2);
Tailwind
colors: {
  custom: {
    50: '#9867c9',
    500: '#6524b1',
    950: '#000000',
  },
}
SCSS
$custom: #6524b1;
$custom-light: #9867c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6524b1",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 267.66,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.20358,
    "h": 298.2
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#6524B1
secondary
#9CC869
accent
#E93F9B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6524B1

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

Preview Lab → · Contrast checker → · Palette generator →

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