#6C32AE#6C32AE

#6C32AE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.186 H 300.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6C32AE
RGBrgb(108, 50, 174)
HSLhsl(268, 55%, 44%)
HSVhsv(268, 71%, 68%)
CMYKcmyk(37.9%, 71.3%, 0%, 31.8%)
CIE-LABlab(35.05, 49.92, -56.27)
CIE-LCHlch(35.05, 75.23, 311.58°)
OKLaboklab(46.23% 0.0948 -0.1605)
OKLCHoklch(46.23% 0.186 300.6)
XYZxyz(14.9630, 8.5252, 40.8934)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32AE #74AE32
analogous
#3236AE #6C32AE #AA32AE
triadic
#6C32AE #AE6C32 #32AE6C
tetradic
#6C32AE #AE3236 #74AE32 #32AEAA
square
#6C32AE #AE3236 #74AE32 #32AEAA
split-complementary
#6C32AE #AEAA32 #36AE32
monochromatic
#31174F #4E247E #6C32AE #8B50CD #AA80DA

Accessibility & contrast

On white

7.76
#6C32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6C32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32AE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32AE#FFFFFF#000000##FFFFFF
##6C32AE1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#5D506C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c32ae;
/* rgb */ color: rgb(108, 50, 174);
/* oklch */ color: oklch(46.2% 0.186 300.6);
Tailwind
colors: {
  custom: {
    50: '#9c6fc7',
    500: '#6c32ae',
    950: '#000000',
  },
}
SCSS
$custom: #6c32ae;
$custom-light: #9c6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32ae",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 268.065,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46229,
    "c": 0.1864,
    "h": 300.6
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#6C32AE
secondary
#A0C478
accent
#DF4999
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C32AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6C32AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva