#6D32A4#6D32A4

#6D32A4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.176 H 303.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6D32A4
RGBrgb(109, 50, 164)
HSLhsl(271, 53%, 42%)
HSVhsv(271, 70%, 64%)
CMYKcmyk(33.5%, 69.5%, 0%, 35.7%)
CIE-LABlab(34.42, 47.64, -51.30)
CIE-LCHlch(34.42, 70.01, 312.88°)
OKLaboklab(45.57% 0.0978 -0.1458)
OKLCHoklch(45.57% 0.176 303.9)
XYZxyz(14.1466, 8.2128, 35.9547)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D32A4 #69A432
analogous
#3432A4 #6D32A4 #A432A2
triadic
#6D32A4 #A46D32 #32A46D
tetradic
#6D32A4 #A43432 #69A432 #32A2A4
square
#6D32A4 #A43432 #69A432 #32A2A4
split-complementary
#6D32A4 #A2A432 #32A434
monochromatic
#2F1546 #4E2475 #6D32A4 #8C4BC8 #AA7AD6

Accessibility & contrast

On white

7.95
#6D32A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6D32A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D32A4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D32A4#FFFFFF#000000##FFFFFF
##6D32A41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#624C67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d32a4;
/* rgb */ color: rgb(109, 50, 164);
/* oklch */ color: oklch(45.6% 0.176 303.9);
Tailwind
colors: {
  custom: {
    50: '#9b6fc0',
    500: '#6d32a4',
    950: '#000000',
  },
}
SCSS
$custom: #6d32a4;
$custom-light: #9b6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d32a4",
  "rgb": {
    "r": 109,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 271.053,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45568,
    "c": 0.17561,
    "h": 303.9
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#6D32A4
secondary
#98BF73
accent
#DD4B91
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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