#6C32AF#6C32AF

#6C32AF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.188 H 300.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6C32AF
RGBrgb(108, 50, 175)
HSLhsl(268, 56%, 44%)
HSVhsv(268, 71%, 69%)
CMYKcmyk(38.3%, 71.4%, 0%, 31.4%)
CIE-LABlab(35.13, 50.17, -56.74)
CIE-LCHlch(35.13, 75.74, 311.48°)
OKLaboklab(46.31% 0.0947 -0.1619)
OKLCHoklch(46.31% 0.188 300.3)
XYZxyz(15.0609, 8.5644, 41.4087)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32AF #75AF32
analogous
#3236AF #6C32AF #AB32AF
triadic
#6C32AF #AF6C32 #32AF6C
tetradic
#6C32AF #AF3236 #75AF32 #32AFAB
square
#6C32AF #AF3236 #75AF32 #32AFAB
split-complementary
#6C32AF #AFAB32 #36AF32
monochromatic
#311750 #4F247F #6C32AF #8B51CD #AA81DB

Accessibility & contrast

On white

7.74
#6C32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6C32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32AF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32AF#FFFFFF#000000##FFFFFF
##6C32AF1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#5D506D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c32af;
/* rgb */ color: rgb(108, 50, 175);
/* oklch */ color: oklch(46.3% 0.188 300.3);
Tailwind
colors: {
  custom: {
    50: '#9c6fc8',
    500: '#6c32af',
    950: '#000000',
  },
}
SCSS
$custom: #6c32af;
$custom-light: #9c6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32af",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 267.84,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46308,
    "c": 0.1875,
    "h": 300.3
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#6C32AF
secondary
#A1C479
accent
#DF4999
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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