#6D32B9#6D32B9

#6D32B9 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.199 H 298.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6D32B9
RGBrgb(109, 50, 185)
HSLhsl(266, 57%, 46%)
HSVhsv(266, 73%, 73%)
CMYKcmyk(41.1%, 73%, 0%, 27.5%)
CIE-LABlab(36.05, 52.87, -61.17)
CIE-LCHlch(36.05, 80.86, 310.84°)
OKLaboklab(47.24% 0.0941 -0.1748)
OKLCHoklch(47.24% 0.199 298.3)
XYZxyz(16.2020, 9.0349, 46.7798)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D32B9 #7EB932
analogous
#323AB9 #6D32B9 #B032B9
triadic
#6D32B9 #B96D32 #32B96D
tetradic
#6D32B9 #B9323A #7EB932 #32B9B0
square
#6D32B9 #B9323A #7EB932 #32B9B0
split-complementary
#6D32B9 #B9B032 #3AB932
monochromatic
#341859 #512589 #6D32B9 #8C57D2 #AD87DF

Accessibility & contrast

On white

7.48
#6D32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6D32B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D32B9
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D32B9#FFFFFF#000000##FFFFFF
##6D32B91.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#5A5473
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d32b9;
/* rgb */ color: rgb(109, 50, 185);
/* oklch */ color: oklch(47.2% 0.199 298.3);
Tailwind
colors: {
  custom: {
    50: '#9d6fcf',
    500: '#6d32b9',
    950: '#000000',
  },
}
SCSS
$custom: #6d32b9;
$custom-light: #9d6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d32b9",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 266.222,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47236,
    "c": 0.19855,
    "h": 298.3
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#6D32B9
secondary
#A8C87F
accent
#E1479E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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