#6A32BA#6A32BA

#6A32BA is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.199 H 296.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6A32BA
RGBrgb(106, 50, 186)
HSLhsl(265, 58%, 46%)
HSVhsv(265, 73%, 73%)
CMYKcmyk(43%, 73.1%, 0%, 27.1%)
CIE-LABlab(35.77, 52.61, -62.23)
CIE-LCHlch(35.77, 81.49, 310.21°)
OKLaboklab(46.98% 0.0895 -0.1781)
OKLCHoklch(46.98% 0.199 296.7)
XYZxyz(15.9451, 8.8902, 47.3207)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32BA #82BA32
analogous
#323EBA #6A32BA #AE32BA
triadic
#6A32BA #BA6A32 #32BA6A
tetradic
#6A32BA #BA323E #82BA32 #32BAAE
square
#6A32BA #BA323E #82BA32 #32BAAE
split-complementary
#6A32BA #BAAE32 #3EBA32
monochromatic
#33185A #4F258A #6A32BA #8A57D2 #AB88DF

Accessibility & contrast

On white

7.56
#6A32BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6A32BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32BA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32BA#FFFFFF#000000##FFFFFF
##6A32BA1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#555573
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a32ba;
/* rgb */ color: rgb(106, 50, 186);
/* oklch */ color: oklch(47.0% 0.199 296.7);
Tailwind
colors: {
  custom: {
    50: '#9c6fd0',
    500: '#6a32ba',
    950: '#000000',
  },
}
SCSS
$custom: #6a32ba;
$custom-light: #9c6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32ba",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 264.706,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.1993,
    "h": 296.7
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#6A32BA
secondary
#AAC97F
accent
#E147A1
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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