#6524B0#6524B0

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

Color values

HEX#6524B0
RGBrgb(101, 36, 176)
HSLhsl(268, 66%, 42%)
HSVhsv(268, 80%, 69%)
CMYKcmyk(42.6%, 79.5%, 0%, 31%)
CIE-LABlab(32.17, 55.35, -62.20)
CIE-LCHlch(32.17, 83.26, 311.66°)
OKLaboklab(44.06% 0.0966 -0.178)
OKLCHoklch(44.06% 0.203 298.5)
XYZxyz(13.8322, 7.1628, 41.7197)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6524B0 #6FB024
analogous
#2429B0 #6524B0 #AB24B0
triadic
#6524B0 #B06524 #24B065
tetradic
#6524B0 #B02429 #6FB024 #24B0AB
square
#6524B0 #B02429 #6FB024 #24B0AB
split-complementary
#6524B0 #B0AB24 #29B024
monochromatic
#2B0F4A #481A7D #6524B0 #833AD7 #A36DE1

Accessibility & contrast

On white

8.63
#6524B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6524B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6524B0
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6524B0#FFFFFF#000000##FFFFFF
##6524B01.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6524b0;
/* rgb */ color: rgb(101, 36, 176);
/* oklch */ color: oklch(44.1% 0.203 298.5);
Tailwind
colors: {
  custom: {
    50: '#9867c9',
    500: '#6524b0',
    950: '#000000',
  },
}
SCSS
$custom: #6524b0;
$custom-light: #9867c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6524b0",
  "rgb": {
    "r": 101,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 267.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.20255,
    "h": 298.5
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#6524B0
secondary
#9BC868
accent
#E93F9A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6524B0

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

Preview Lab → · Contrast checker → · Palette generator →

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