#6A32B9#6A32B9

#6A32B9 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.198 H 296.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6A32B9
RGBrgb(106, 50, 185)
HSLhsl(265, 57%, 46%)
HSVhsv(265, 73%, 73%)
CMYKcmyk(42.7%, 73%, 0%, 27.5%)
CIE-LABlab(35.69, 52.35, -61.78)
CIE-LCHlch(35.69, 80.97, 310.28°)
OKLaboklab(46.9% 0.0898 -0.1767)
OKLCHoklch(46.9% 0.198 296.9)
XYZxyz(15.8391, 8.8478, 46.7628)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32B9 #81B932
analogous
#323DB9 #6A32B9 #AD32B9
triadic
#6A32B9 #B96A32 #32B96A
tetradic
#6A32B9 #B9323D #81B932 #32B9AD
square
#6A32B9 #B9323D #81B932 #32B9AD
split-complementary
#6A32B9 #B9AD32 #3DB932
monochromatic
#331859 #4E2589 #6A32B9 #8A57D2 #AB87DF

Accessibility & contrast

On white

7.58
#6A32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6A32B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32B9
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32B9#FFFFFF#000000##FFFFFF
##6A32B91.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#555573
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a32b9;
/* rgb */ color: rgb(106, 50, 185);
/* oklch */ color: oklch(46.9% 0.198 296.9);
Tailwind
colors: {
  custom: {
    50: '#9c6fcf',
    500: '#6a32b9',
    950: '#000000',
  },
}
SCSS
$custom: #6a32b9;
$custom-light: #9c6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32b9",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 264.889,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.469,
    "c": 0.1982,
    "h": 296.9
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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