#6C32A5#6C32A5

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

Color values

HEX#6C32A5
RGBrgb(108, 50, 165)
HSLhsl(270, 53%, 42%)
HSVhsv(270, 70%, 65%)
CMYKcmyk(34.5%, 69.7%, 0%, 35.3%)
CIE-LABlab(34.37, 47.68, -52.00)
CIE-LCHlch(34.37, 70.55, 312.52°)
OKLaboklab(45.52% 0.0963 -0.1479)
OKLCHoklch(45.52% 0.176 303.1)
XYZxyz(14.1149, 8.1860, 36.4264)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32A5 #6BA532
analogous
#3332A5 #6C32A5 #A532A4
triadic
#6C32A5 #A56C32 #32A56C
tetradic
#6C32A5 #A53332 #6BA532 #32A4A5
square
#6C32A5 #A53332 #6BA532 #32A4A5
split-complementary
#6C32A5 #A4A532 #32A533
monochromatic
#2F1647 #4D2476 #6C32A5 #8B4CC9 #A97BD7

Accessibility & contrast

On white

7.96
#6C32A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C32A5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32A5#FFFFFF#000000##FFFFFF
##6C32A51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#614D68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c32a5;
/* rgb */ color: rgb(108, 50, 165);
/* oklch */ color: oklch(45.5% 0.176 303.1);
Tailwind
colors: {
  custom: {
    50: '#9b6ec0',
    500: '#6c32a5',
    950: '#000000',
  },
}
SCSS
$custom: #6c32a5;
$custom-light: #9b6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32a5",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 270.261,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.17649,
    "h": 303.1
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C32A5

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

Preview Lab → · Contrast checker → · Palette generator →

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