#6532B4#6532B4

#6532B4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.192 H 295.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6532B4
RGBrgb(101, 50, 180)
HSLhsl(264, 57%, 45%)
HSVhsv(264, 72%, 71%)
CMYKcmyk(43.9%, 72.2%, 0%, 29.4%)
CIE-LABlab(34.69, 50.17, -60.48)
CIE-LCHlch(34.69, 78.58, 309.68°)
OKLaboklab(45.93% 0.0836 -0.1731)
OKLCHoklch(45.93% 0.192 295.8)
XYZxyz(14.7435, 8.3428, 44.0047)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6532B4 #81B432
analogous
#3240B4 #6532B4 #A632B4
triadic
#6532B4 #B46532 #32B465
tetradic
#6532B4 #B43240 #81B432 #32B4A6
square
#6532B4 #B43240 #81B432 #32B4A6
split-complementary
#6532B4 #B4A632 #40B432
monochromatic
#2F1754 #4A2584 #6532B4 #8454CF #A784DD

Accessibility & contrast

On white

7.87
#6532B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6532B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6532B4
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6532B4#FFFFFF#000000##FFFFFF
##6532B41.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#505370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6532b4;
/* rgb */ color: rgb(101, 50, 180);
/* oklch */ color: oklch(45.9% 0.192 295.8);
Tailwind
colors: {
  custom: {
    50: '#986ecb',
    500: '#6532b4',
    950: '#000000',
  },
}
SCSS
$custom: #6532b4;
$custom-light: #986ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6532b4",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 263.538,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.19219,
    "h": 295.8
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#6532B4
secondary
#A9C67C
accent
#E048A4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6532B4

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

Preview Lab → · Contrast checker → · Palette generator →

#6532B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva