#6D32B1#6D32B1

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

Color values

HEX#6D32B1
RGBrgb(109, 50, 177)
HSLhsl(268, 56%, 45%)
HSVhsv(268, 72%, 69%)
CMYKcmyk(38.4%, 71.8%, 0%, 30.6%)
CIE-LABlab(35.41, 50.86, -57.47)
CIE-LCHlch(35.41, 76.75, 311.51°)
OKLaboklab(46.59% 0.0957 -0.164)
OKLCHoklch(46.59% 0.19 300.3)
XYZxyz(15.3811, 8.7066, 42.4566)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D32B1 #76B132
analogous
#3237B1 #6D32B1 #AD32B1
triadic
#6D32B1 #B16D32 #32B16D
tetradic
#6D32B1 #B13237 #76B132 #32B1AD
square
#6D32B1 #B13237 #76B132 #32B1AD
split-complementary
#6D32B1 #B1AD32 #37B132
monochromatic
#321752 #502581 #6D32B1 #8C52CE #AC82DC

Accessibility & contrast

On white

7.66
#6D32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D32B1
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D32B1#FFFFFF#000000##FFFFFF
##6D32B11.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#5E516E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d32b1;
/* rgb */ color: rgb(109, 50, 177);
/* oklch */ color: oklch(46.6% 0.190 300.3);
Tailwind
colors: {
  custom: {
    50: '#9d6fc9',
    500: '#6d32b1',
    950: '#000000',
  },
}
SCSS
$custom: #6d32b1;
$custom-light: #9d6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d32b1",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 267.874,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.18985,
    "h": 300.3
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#6D32B1
secondary
#A2C57A
accent
#DF4999
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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