#6C32B3#6C32B3

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

Color values

HEX#6C32B3
RGBrgb(108, 50, 179)
HSLhsl(267, 56%, 45%)
HSVhsv(267, 72%, 70%)
CMYKcmyk(39.7%, 72.1%, 0%, 29.8%)
CIE-LABlab(35.45, 51.18, -58.61)
CIE-LCHlch(35.45, 77.81, 311.13°)
OKLaboklab(46.63% 0.0939 -0.1673)
OKLCHoklch(46.63% 0.192 299.3)
XYZxyz(15.4596, 8.7238, 43.5085)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32B3 #79B332
analogous
#3238B3 #6C32B3 #AD32B3
triadic
#6C32B3 #B36C32 #32B36C
tetradic
#6C32B3 #B33238 #79B332 #32B3AD
square
#6C32B3 #B33238 #79B332 #32B3AD
split-complementary
#6C32B3 #B3AD32 #38B332
monochromatic
#321753 #4F2583 #6C32B3 #8B53CF #AB83DC

Accessibility & contrast

On white

7.65
#6C32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C32B3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32B3#FFFFFF#000000##FFFFFF
##6C32B31.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#5B526F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c32b3;
/* rgb */ color: rgb(108, 50, 179);
/* oklch */ color: oklch(46.6% 0.192 299.3);
Tailwind
colors: {
  custom: {
    50: '#9c6fcb',
    500: '#6c32b3',
    950: '#000000',
  },
}
SCSS
$custom: #6c32b3;
$custom-light: #9c6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32b3",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 266.977,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.19188,
    "h": 299.3
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#6C32B3
secondary
#A4C67B
accent
#E0489C
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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