#6C32B1#6C32B1

#6C32B1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.190 H 299.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6C32B1
RGBrgb(108, 50, 177)
HSLhsl(267, 56%, 45%)
HSVhsv(267, 72%, 69%)
CMYKcmyk(39%, 71.8%, 0%, 30.6%)
CIE-LABlab(35.29, 50.67, -57.68)
CIE-LCHlch(35.29, 76.78, 311.30°)
OKLaboklab(46.47% 0.0943 -0.1646)
OKLCHoklch(46.47% 0.19 299.8)
XYZxyz(15.2588, 8.6435, 42.4509)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32B1 #77B132
analogous
#3237B1 #6C32B1 #AC32B1
triadic
#6C32B1 #B16C32 #32B16C
tetradic
#6C32B1 #B13237 #77B132 #32B1AC
square
#6C32B1 #B13237 #77B132 #32B1AC
split-complementary
#6C32B1 #B1AC32 #37B132
monochromatic
#321752 #4F2581 #6C32B1 #8B52CE #AB82DC

Accessibility & contrast

On white

7.70
#6C32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6C32B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32B1
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32B1#FFFFFF#000000##FFFFFF
##6C32B11.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#5C516E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c32b1;
/* rgb */ color: rgb(108, 50, 177);
/* oklch */ color: oklch(46.5% 0.190 299.8);
Tailwind
colors: {
  custom: {
    50: '#9c6fc9',
    500: '#6c32b1',
    950: '#000000',
  },
}
SCSS
$custom: #6c32b1;
$custom-light: #9c6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32b1",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 267.402,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46469,
    "c": 0.18968,
    "h": 299.8
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#6C32B1
secondary
#A3C57A
accent
#DF499A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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