#6D32A8#6D32A8

#6D32A8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.180 H 302.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6D32A8
RGBrgb(109, 50, 168)
HSLhsl(270, 54%, 43%)
HSVhsv(270, 70%, 66%)
CMYKcmyk(35.1%, 70.2%, 0%, 34.1%)
CIE-LABlab(34.72, 48.62, -53.22)
CIE-LCHlch(34.72, 72.09, 312.41°)
OKLaboklab(45.88% 0.0973 -0.1515)
OKLCHoklch(45.88% 0.18 302.7)
XYZxyz(14.5135, 8.3596, 37.8871)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D32A8 #6DA832
analogous
#3232A8 #6D32A8 #A832A8
triadic
#6D32A8 #A86D32 #32A86D
tetradic
#6D32A8 #A83232 #6DA832 #32A8A8
square
#6D32A8 #A83232 #6DA832 #32A8A8
split-complementary
#6D32A8 #A8A832 #32A832
monochromatic
#30164A #4E2479 #6D32A8 #8C4DCA #AA7CD8

Accessibility & contrast

On white

7.86
#6D32A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6D32A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D32A8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D32A8#FFFFFF#000000##FFFFFF
##6D32A81.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#614E69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d32a8;
/* rgb */ color: rgb(109, 50, 168);
/* oklch */ color: oklch(45.9% 0.180 302.7);
Tailwind
colors: {
  custom: {
    50: '#9c6fc3',
    500: '#6d32a8',
    950: '#000000',
  },
}
SCSS
$custom: #6d32a8;
$custom-light: #9c6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d32a8",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 270,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.18,
    "h": 302.7
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#6D32A8
secondary
#9BC175
accent
#DD4A94
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #6D32A8

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

Preview Lab → · Contrast checker → · Palette generator →

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