#6D32B2#6D32B2

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

Color values

HEX#6D32B2
RGBrgb(109, 50, 178)
HSLhsl(268, 56%, 45%)
HSVhsv(268, 72%, 70%)
CMYKcmyk(38.8%, 71.9%, 0%, 30.2%)
CIE-LABlab(35.49, 51.11, -57.94)
CIE-LCHlch(35.49, 77.26, 311.42°)
OKLaboklab(46.67% 0.0955 -0.1653)
OKLCHoklch(46.67% 0.191 300)
XYZxyz(15.4812, 8.7466, 42.9835)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D32B2 #77B232
analogous
#3237B2 #6D32B2 #AD32B2
triadic
#6D32B2 #B26D32 #32B26D
tetradic
#6D32B2 #B23237 #77B232 #32B2AD
square
#6D32B2 #B23237 #77B232 #32B2AD
split-complementary
#6D32B2 #B2AD32 #37B232
monochromatic
#321752 #502582 #6D32B2 #8C53CF #AC82DC

Accessibility & contrast

On white

7.64
#6D32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6D32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D32B2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D32B2#FFFFFF#000000##FFFFFF
##6D32B21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d32b2;
/* rgb */ color: rgb(109, 50, 178);
/* oklch */ color: oklch(46.7% 0.191 300.0);
Tailwind
colors: {
  custom: {
    50: '#9d6fca',
    500: '#6d32b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d32b2;
$custom-light: #9d6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d32b2",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 267.656,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.19094,
    "h": 300
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#6D32B2
secondary
#A3C57B
accent
#DF489A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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