#6B32AC#6B32AC

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

Color values

HEX#6B32AC
RGBrgb(107, 50, 172)
HSLhsl(268, 55%, 44%)
HSVhsv(268, 71%, 67%)
CMYKcmyk(37.8%, 70.9%, 0%, 32.5%)
CIE-LABlab(34.77, 49.23, -55.54)
CIE-LCHlch(34.77, 74.22, 311.55°)
OKLaboklab(45.95% 0.0938 -0.1584)
OKLCHoklch(45.95% 0.184 300.6)
XYZxyz(14.6486, 8.3854, 39.8685)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B32AC #73AC32
analogous
#3236AC #6B32AC #A832AC
triadic
#6B32AC #AC6B32 #32AC6B
tetradic
#6B32AC #AC3236 #73AC32 #32ACA8
square
#6B32AC #AC3236 #73AC32 #32ACA8
split-complementary
#6B32AC #ACA832 #36AC32
monochromatic
#30164D #4E247D #6B32AC #8A4FCC #A97FDA

Accessibility & contrast

On white

7.84
#6B32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B32AC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B32AC#FFFFFF#000000##FFFFFF
##6B32AC1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b32ac;
/* rgb */ color: rgb(107, 50, 172);
/* oklch */ color: oklch(46.0% 0.184 300.6);
Tailwind
colors: {
  custom: {
    50: '#9b6fc6',
    500: '#6b32ac',
    950: '#000000',
  },
}
SCSS
$custom: #6b32ac;
$custom-light: #9b6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b32ac",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 268.033,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.18403,
    "h": 300.6
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#6B32AC
secondary
#9FC377
accent
#DE4A99
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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