#6C32BA#6C32BA

#6C32BA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.200 H 297.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6C32BA
RGBrgb(108, 50, 186)
HSLhsl(266, 58%, 46%)
HSVhsv(266, 73%, 73%)
CMYKcmyk(41.9%, 73.1%, 0%, 27.1%)
CIE-LABlab(36.01, 52.95, -61.83)
CIE-LCHlch(36.01, 81.41, 310.58°)
OKLaboklab(47.21% 0.0924 -0.1768)
OKLCHoklch(47.21% 0.2 297.6)
XYZxyz(16.1856, 9.0142, 47.3320)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32BA #80BA32
analogous
#323CBA #6C32BA #B032BA
triadic
#6C32BA #BA6C32 #32BA6C
tetradic
#6C32BA #BA323C #80BA32 #32BAB0
square
#6C32BA #BA323C #80BA32 #32BAB0
split-complementary
#6C32BA #BAB032 #3CBA32
monochromatic
#34185A #50258A #6C32BA #8C57D2 #AD88DF

Accessibility & contrast

On white

7.49
#6C32BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6C32BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32BA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32BA#FFFFFF#000000##FFFFFF
##6C32BA1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#585573
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c32ba;
/* rgb */ color: rgb(108, 50, 186);
/* oklch */ color: oklch(47.2% 0.200 297.6);
Tailwind
colors: {
  custom: {
    50: '#9d6fd0',
    500: '#6c32ba',
    950: '#000000',
  },
}
SCSS
$custom: #6c32ba;
$custom-light: #9d6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32ba",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 265.588,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47206,
    "c": 0.19951,
    "h": 297.6
  },
  "luminance": 0.09015
}

Semantic roles & 50–950 ramp

primary
#6C32BA
secondary
#A9C97F
accent
#E1479F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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