#6C32CB#6C32CB

#6C32CB is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.218 H 293.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6C32CB
RGBrgb(108, 50, 203)
HSLhsl(263, 60%, 50%)
HSVhsv(263, 75%, 80%)
CMYKcmyk(46.8%, 75.4%, 0%, 20.4%)
CIE-LABlab(37.45, 57.30, -69.44)
CIE-LCHlch(37.45, 90.03, 309.53°)
OKLaboklab(48.66% 0.0884 -0.1991)
OKLCHoklch(48.66% 0.218 293.9)
XYZxyz(18.1015, 9.7806, 57.4224)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32CB #91CB32
analogous
#3245CB #6C32CB #B932CB
triadic
#6C32CB #CB6C32 #32CB6C
tetradic
#6C32CB #CB3245 #91CB32 #32CBB9
square
#6C32CB #CB3245 #91CB32 #32CBB9
split-complementary
#6C32CB #CBB932 #45CB32
monochromatic
#381A69 #52269A #6C32CB #8F62D8 #B293E4

Accessibility & contrast

On white

7.10
#6C32CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6C32CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32CB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32CB#FFFFFF#000000##FFFFFF
##6C32CB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#4F5C7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c32cb;
/* rgb */ color: rgb(108, 50, 203);
/* oklch */ color: oklch(48.7% 0.218 293.9);
Tailwind
colors: {
  custom: {
    50: '#9f70dc',
    500: '#6c32cb',
    950: '#000000',
  },
}
SCSS
$custom: #6c32cb;
$custom-light: #9f70dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32cb",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 262.745,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48658,
    "c": 0.21787,
    "h": 293.9
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#6C32CB
secondary
#B5CF89
accent
#E444A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6C32CB

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

Preview Lab → · Contrast checker → · Palette generator →

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