#6C32B2#6C32B2

#6C32B2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.191 H 299.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6C32B2
RGBrgb(108, 50, 178)
HSLhsl(267, 56%, 45%)
HSVhsv(267, 72%, 70%)
CMYKcmyk(39.3%, 71.9%, 0%, 30.2%)
CIE-LABlab(35.37, 50.93, -58.14)
CIE-LCHlch(35.37, 77.29, 311.21°)
OKLaboklab(46.55% 0.0941 -0.166)
OKLCHoklch(46.55% 0.191 299.5)
XYZxyz(15.3588, 8.6835, 42.9778)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32B2 #78B232
analogous
#3238B2 #6C32B2 #AC32B2
triadic
#6C32B2 #B26C32 #32B26C
tetradic
#6C32B2 #B23238 #78B232 #32B2AC
square
#6C32B2 #B23238 #78B232 #32B2AC
split-complementary
#6C32B2 #B2AC32 #38B232
monochromatic
#321752 #4F2582 #6C32B2 #8B53CF #AB82DC

Accessibility & contrast

On white

7.67
#6C32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6C32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32B2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32B2#FFFFFF#000000##FFFFFF
##6C32B21.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#5C526F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c32b2;
/* rgb */ color: rgb(108, 50, 178);
/* oklch */ color: oklch(46.6% 0.191 299.5);
Tailwind
colors: {
  custom: {
    50: '#9c6fca',
    500: '#6c32b2',
    950: '#000000',
  },
}
SCSS
$custom: #6c32b2;
$custom-light: #9c6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32b2",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 267.188,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4655,
    "c": 0.19078,
    "h": 299.5
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#6C32B2
secondary
#A3C57B
accent
#DF489B
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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