#6D32CB#6D32CB

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

Color values

HEX#6D32CB
RGBrgb(109, 50, 203)
HSLhsl(263, 60%, 50%)
HSVhsv(263, 75%, 80%)
CMYKcmyk(46.3%, 75.4%, 0%, 20.4%)
CIE-LABlab(37.56, 57.45, -69.25)
CIE-LCHlch(37.56, 89.98, 309.68°)
OKLaboklab(48.76% 0.0898 -0.1985)
OKLCHoklch(48.76% 0.218 294.3)
XYZxyz(18.2238, 9.8437, 57.4282)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D32CB #90CB32
analogous
#3244CB #6D32CB #B932CB
triadic
#6D32CB #CB6D32 #32CB6D
tetradic
#6D32CB #CB3244 #90CB32 #32CBB9
square
#6D32CB #CB3244 #90CB32 #32CBB9
split-complementary
#6D32CB #CBB932 #44CB32
monochromatic
#381A69 #53269A #6D32CB #9062D8 #B293E4

Accessibility & contrast

On white

7.07
#6D32CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6D32CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D32CB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D32CB#FFFFFF#000000##FFFFFF
##6D32CB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#515C7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d32cb;
/* rgb */ color: rgb(109, 50, 203);
/* oklch */ color: oklch(48.8% 0.218 294.3);
Tailwind
colors: {
  custom: {
    50: '#9f70dc',
    500: '#6d32cb',
    950: '#000000',
  },
}
SCSS
$custom: #6d32cb;
$custom-light: #9f70dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d32cb",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 263.137,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.21792,
    "h": 294.3
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#6D32CB
secondary
#B4CF89
accent
#E444A6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6D32CB

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

Preview Lab → · Contrast checker → · Palette generator →

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