#6C32A4#6C32A4

#6C32A4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.175 H 303.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6C32A4
RGBrgb(108, 50, 164)
HSLhsl(271, 53%, 42%)
HSVhsv(271, 70%, 64%)
CMYKcmyk(34.1%, 69.5%, 0%, 35.7%)
CIE-LABlab(34.29, 47.43, -51.52)
CIE-LCHlch(34.29, 70.03, 312.63°)
OKLaboklab(45.45% 0.0964 -0.1465)
OKLCHoklch(45.45% 0.175 303.4)
XYZxyz(14.0242, 8.1497, 35.9490)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32A4 #6AA432
analogous
#3332A4 #6C32A4 #A432A3
triadic
#6C32A4 #A46C32 #32A46C
tetradic
#6C32A4 #A43332 #6AA432 #32A3A4
square
#6C32A4 #A43332 #6AA432 #32A3A4
split-complementary
#6C32A4 #A3A432 #32A433
monochromatic
#2E1546 #4D2475 #6C32A4 #8B4BC8 #A97AD6

Accessibility & contrast

On white

7.98
#6C32A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6C32A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32A4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32A4#FFFFFF#000000##FFFFFF
##6C32A41.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#614C67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c32a4;
/* rgb */ color: rgb(108, 50, 164);
/* oklch */ color: oklch(45.4% 0.175 303.4);
Tailwind
colors: {
  custom: {
    50: '#9b6ec0',
    500: '#6c32a4',
    950: '#000000',
  },
}
SCSS
$custom: #6c32a4;
$custom-light: #9b6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32a4",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 270.526,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.17539,
    "h": 303.4
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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