#6A32A4#6A32A4

#6A32A4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.175 H 302.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6A32A4
RGBrgb(106, 50, 164)
HSLhsl(269, 53%, 42%)
HSVhsv(269, 70%, 64%)
CMYKcmyk(35.4%, 69.5%, 0%, 35.7%)
CIE-LABlab(34.04, 47.02, -51.95)
CIE-LCHlch(34.04, 70.07, 312.15°)
OKLaboklab(45.21% 0.0936 -0.1478)
OKLCHoklch(45.21% 0.175 302.3)
XYZxyz(13.7837, 8.0257, 35.9377)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32A4 #6CA432
analogous
#3233A4 #6A32A4 #A332A4
triadic
#6A32A4 #A46A32 #32A46A
tetradic
#6A32A4 #A43233 #6CA432 #32A4A3
square
#6A32A4 #A43233 #6CA432 #32A4A3
split-complementary
#6A32A4 #A4A332 #33A432
monochromatic
#2D1546 #4C2475 #6A32A4 #894BC8 #A77AD6

Accessibility & contrast

On white

8.06
#6A32A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6A32A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32A4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32A4#FFFFFF#000000##FFFFFF
##6A32A41.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#5E4C67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a32a4;
/* rgb */ color: rgb(106, 50, 164);
/* oklch */ color: oklch(45.2% 0.175 302.3);
Tailwind
colors: {
  custom: {
    50: '#996ec0',
    500: '#6a32a4',
    950: '#000000',
  },
}
SCSS
$custom: #6a32a4;
$custom-light: #996ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32a4",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 269.474,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.17498,
    "h": 302.3
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#6A32A4
secondary
#9ABF73
accent
#DD4B95
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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