#6532B1#6532B1

#6532B1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.189 H 296.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6532B1
RGBrgb(101, 50, 177)
HSLhsl(264, 56%, 45%)
HSVhsv(264, 72%, 69%)
CMYKcmyk(42.9%, 71.8%, 0%, 30.6%)
CIE-LABlab(34.44, 49.39, -59.10)
CIE-LCHlch(34.44, 77.02, 309.89°)
OKLaboklab(45.68% 0.0842 -0.169)
OKLCHoklch(45.68% 0.189 296.5)
XYZxyz(14.4412, 8.2219, 42.4126)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6532B1 #7EB132
analogous
#323FB1 #6532B1 #A432B1
triadic
#6532B1 #B16532 #32B165
tetradic
#6532B1 #B1323F #7EB132 #32B1A4
square
#6532B1 #B1323F #7EB132 #32B1A4
split-complementary
#6532B1 #B1A432 #3FB132
monochromatic
#2F1752 #4A2581 #6532B1 #8452CE #A682DC

Accessibility & contrast

On white

7.94
#6532B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6532B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6532B1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6532B1#FFFFFF#000000##FFFFFF
##6532B11.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#51526E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6532b1;
/* rgb */ color: rgb(101, 50, 177);
/* oklch */ color: oklch(45.7% 0.189 296.5);
Tailwind
colors: {
  custom: {
    50: '#986ec9',
    500: '#6532b1',
    950: '#000000',
  },
}
SCSS
$custom: #6532b1;
$custom-light: #986ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6532b1",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 264.094,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45678,
    "c": 0.18882,
    "h": 296.5
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#6532B1
secondary
#A7C57A
accent
#DF49A3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6532B1

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

Preview Lab → · Contrast checker → · Palette generator →

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