#6532AB#6532AB

#6532AB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.182 H 297.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6532AB
RGBrgb(101, 50, 171)
HSLhsl(265, 55%, 43%)
HSVhsv(265, 71%, 67%)
CMYKcmyk(40.9%, 70.8%, 0%, 32.9%)
CIE-LABlab(33.96, 47.82, -56.30)
CIE-LCHlch(33.96, 73.87, 310.34°)
OKLaboklab(45.18% 0.0853 -0.1608)
OKLCHoklch(45.18% 0.182 297.9)
XYZxyz(13.8562, 7.9880, 39.3320)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6532AB #78AB32
analogous
#323CAB #6532AB #A132AB
triadic
#6532AB #AB6532 #32AB65
tetradic
#6532AB #AB323C #78AB32 #32ABA1
square
#6532AB #AB323C #78AB32 #32ABA1
split-complementary
#6532AB #ABA132 #3CAB32
monochromatic
#2D164C #49247C #6532AB #834FCB #A57ED9

Accessibility & contrast

On white

8.08
#6532AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6532AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6532AB
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6532AB#FFFFFF#000000##FFFFFF
##6532AB1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#54506B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6532ab;
/* rgb */ color: rgb(101, 50, 171);
/* oklch */ color: oklch(45.2% 0.182 297.9);
Tailwind
colors: {
  custom: {
    50: '#976ec5',
    500: '#6532ab',
    950: '#000000',
  },
}
SCSS
$custom: #6532ab;
$custom-light: #976ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#6532ab",
  "rgb": {
    "r": 101,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 265.289,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.18204,
    "h": 297.9
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#6532AB
secondary
#A2C277
accent
#DE4AA0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6532AB

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

Preview Lab → · Contrast checker → · Palette generator →

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