#6A32B2#6A32B2

#6A32B2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.191 H 298.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6A32B2
RGBrgb(106, 50, 178)
HSLhsl(266, 56%, 45%)
HSVhsv(266, 72%, 70%)
CMYKcmyk(40.4%, 71.9%, 0%, 30.2%)
CIE-LABlab(35.12, 50.56, -58.56)
CIE-LCHlch(35.12, 77.36, 310.81°)
OKLaboklab(46.32% 0.0912 -0.1672)
OKLCHoklch(46.32% 0.191 298.6)
XYZxyz(15.1183, 8.5595, 42.9665)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32B2 #7AB232
analogous
#323AB2 #6A32B2 #AA32B2
triadic
#6A32B2 #B26A32 #32B26A
tetradic
#6A32B2 #B2323A #7AB232 #32B2AA
square
#6A32B2 #B2323A #7AB232 #32B2AA
split-complementary
#6A32B2 #B2AA32 #3AB232
monochromatic
#311752 #4E2582 #6A32B2 #8953CF #AA82DC

Accessibility & contrast

On white

7.74
#6A32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6A32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32B2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32B2#FFFFFF#000000##FFFFFF
##6A32B21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#59526F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a32b2;
/* rgb */ color: rgb(106, 50, 178);
/* oklch */ color: oklch(46.3% 0.191 298.6);
Tailwind
colors: {
  custom: {
    50: '#9b6fca',
    500: '#6a32b2',
    950: '#000000',
  },
}
SCSS
$custom: #6a32b2;
$custom-light: #9b6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32b2",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 266.25,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.1905,
    "h": 298.6
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#6A32B2
secondary
#A5C57B
accent
#DF489D
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6A32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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