#6532B2#6532B2

#6532B2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.190 H 296.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6532B2
RGBrgb(101, 50, 178)
HSLhsl(264, 56%, 45%)
HSVhsv(264, 72%, 70%)
CMYKcmyk(43.3%, 71.9%, 0%, 30.2%)
CIE-LABlab(34.52, 49.65, -59.56)
CIE-LCHlch(34.52, 77.54, 309.82°)
OKLaboklab(45.76% 0.084 -0.1704)
OKLCHoklch(45.76% 0.19 296.2)
XYZxyz(14.5412, 8.2619, 42.9394)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6532B2 #7FB232
analogous
#323FB2 #6532B2 #A532B2
triadic
#6532B2 #B26532 #32B265
tetradic
#6532B2 #B2323F #7FB232 #32B2A5
square
#6532B2 #B2323F #7FB232 #32B2A5
split-complementary
#6532B2 #B2A532 #3FB232
monochromatic
#2F1752 #4A2582 #6532B2 #8453CF #A682DC

Accessibility & contrast

On white

7.92
#6532B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6532B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6532B2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6532B2#FFFFFF#000000##FFFFFF
##6532B21.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#51526F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6532b2;
/* rgb */ color: rgb(101, 50, 178);
/* oklch */ color: oklch(45.8% 0.190 296.2);
Tailwind
colors: {
  custom: {
    50: '#986eca',
    500: '#6532b2',
    950: '#000000',
  },
}
SCSS
$custom: #6532b2;
$custom-light: #986eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6532b2",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 263.906,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.18994,
    "h": 296.2
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#6532B2
secondary
#A7C57B
accent
#DF48A3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6532B2

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

Preview Lab → · Contrast checker → · Palette generator →

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