#6C32AA#6C32AA

#6C32AA is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.182 H 301.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6C32AA
RGBrgb(108, 50, 170)
HSLhsl(269, 55%, 43%)
HSVhsv(269, 71%, 67%)
CMYKcmyk(36.5%, 70.6%, 0%, 33.3%)
CIE-LABlab(34.75, 48.92, -54.39)
CIE-LCHlch(34.75, 73.15, 311.97°)
OKLaboklab(45.91% 0.0955 -0.1549)
OKLCHoklch(45.91% 0.182 301.7)
XYZxyz(14.5789, 8.3716, 38.8702)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32AA #70AA32
analogous
#3234AA #6C32AA #A832AA
triadic
#6C32AA #AA6C32 #32AA6C
tetradic
#6C32AA #AA3234 #70AA32 #32AAA8
square
#6C32AA #AA3234 #70AA32 #32AAA8
split-complementary
#6C32AA #AAA832 #34AA32
monochromatic
#30164B #4E247B #6C32AA #8B4ECB #AA7DD9

Accessibility & contrast

On white

7.85
#6C32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6C32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32AA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32AA#FFFFFF#000000##FFFFFF
##6C32AA1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#5F4F6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c32aa;
/* rgb */ color: rgb(108, 50, 170);
/* oklch */ color: oklch(45.9% 0.182 301.7);
Tailwind
colors: {
  custom: {
    50: '#9b6fc4',
    500: '#6c32aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c32aa;
$custom-light: #9b6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32aa",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 269,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.18201,
    "h": 301.7
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#6C32AA
secondary
#9DC276
accent
#DE4A96
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6C32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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