#6A32AE#6A32AE

#6A32AE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.186 H 299.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6A32AE
RGBrgb(106, 50, 174)
HSLhsl(267, 55%, 44%)
HSVhsv(267, 71%, 68%)
CMYKcmyk(39.1%, 71.3%, 0%, 31.8%)
CIE-LABlab(34.80, 49.54, -56.69)
CIE-LCHlch(34.80, 75.29, 311.15°)
OKLaboklab(46% 0.092 -0.1618)
OKLCHoklch(46% 0.186 299.6)
XYZxyz(14.7225, 8.4012, 40.8821)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32AE #76AE32
analogous
#3238AE #6A32AE #A832AE
triadic
#6A32AE #AE6A32 #32AE6A
tetradic
#6A32AE #AE3238 #76AE32 #32AEA8
square
#6A32AE #AE3238 #76AE32 #32AEA8
split-complementary
#6A32AE #AEA832 #38AE32
monochromatic
#30174F #4D247E #6A32AE #8950CD #A980DA

Accessibility & contrast

On white

7.84
#6A32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6A32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32AE
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32AE#FFFFFF#000000##FFFFFF
##6A32AE1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#5A506C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a32ae;
/* rgb */ color: rgb(106, 50, 174);
/* oklch */ color: oklch(46.0% 0.186 299.6);
Tailwind
colors: {
  custom: {
    50: '#9a6fc7',
    500: '#6a32ae',
    950: '#000000',
  },
}
SCSS
$custom: #6a32ae;
$custom-light: #9a6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32ae",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 267.097,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.18608,
    "h": 299.6
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#6A32AE
secondary
#A2C478
accent
#DF499B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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