#6A32AC#6A32AC

#6A32AC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.184 H 300.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6A32AC
RGBrgb(106, 50, 172)
HSLhsl(268, 55%, 44%)
HSVhsv(268, 71%, 67%)
CMYKcmyk(38.4%, 70.9%, 0%, 32.5%)
CIE-LABlab(34.65, 49.03, -55.75)
CIE-LCHlch(34.65, 74.24, 311.33°)
OKLaboklab(45.84% 0.0923 -0.159)
OKLCHoklch(45.84% 0.184 300.1)
XYZxyz(14.5290, 8.3238, 39.8629)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32AC #74AC32
analogous
#3237AC #6A32AC #A732AC
triadic
#6A32AC #AC6A32 #32AC6A
tetradic
#6A32AC #AC3237 #74AC32 #32ACA7
square
#6A32AC #AC3237 #74AC32 #32ACA7
split-complementary
#6A32AC #ACA732 #37AC32
monochromatic
#30164D #4D247D #6A32AC #884FCC #A87FDA

Accessibility & contrast

On white

7.88
#6A32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6A32AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32AC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32AC#FFFFFF#000000##FFFFFF
##6A32AC1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#5B506B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a32ac;
/* rgb */ color: rgb(106, 50, 172);
/* oklch */ color: oklch(45.8% 0.184 300.1);
Tailwind
colors: {
  custom: {
    50: '#9a6fc6',
    500: '#6a32ac',
    950: '#000000',
  },
}
SCSS
$custom: #6a32ac;
$custom-light: #9a6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32ac",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 267.541,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.18387,
    "h": 300.1
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#6A32AC
secondary
#A0C377
accent
#DE4A9A
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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