#6C32AB#6C32AB

#6C32AB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.183 H 301.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6C32AB
RGBrgb(108, 50, 171)
HSLhsl(269, 55%, 43%)
HSVhsv(269, 71%, 67%)
CMYKcmyk(36.8%, 70.8%, 0%, 32.9%)
CIE-LABlab(34.82, 49.17, -54.86)
CIE-LCHlch(34.82, 73.67, 311.87°)
OKLaboklab(45.99% 0.0954 -0.1563)
OKLCHoklch(45.99% 0.183 301.4)
XYZxyz(14.6739, 8.4095, 39.3703)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32AB #71AB32
analogous
#3235AB #6C32AB #A832AB
triadic
#6C32AB #AB6C32 #32AB6C
tetradic
#6C32AB #AB3235 #71AB32 #32ABA8
square
#6C32AB #AB3235 #71AB32 #32ABA8
split-complementary
#6C32AB #ABA832 #35AB32
monochromatic
#30164C #4E247C #6C32AB #8B4FCB #AA7ED9

Accessibility & contrast

On white

7.83
#6C32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6C32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32AB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32AB#FFFFFF#000000##FFFFFF
##6C32AB1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#5E4F6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6c32ab;
/* rgb */ color: rgb(108, 50, 171);
/* oklch */ color: oklch(46.0% 0.183 301.4);
Tailwind
colors: {
  custom: {
    50: '#9b6fc5',
    500: '#6c32ab',
    950: '#000000',
  },
}
SCSS
$custom: #6c32ab;
$custom-light: #9b6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32ab",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 268.76,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45991,
    "c": 0.18311,
    "h": 301.4
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#6C32AB
secondary
#9EC277
accent
#DE4A97
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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