#6A32B3#6A32B3

#6A32B3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.192 H 298.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#6A32B3
RGBrgb(106, 50, 179)
HSLhsl(266, 56%, 45%)
HSVhsv(266, 72%, 70%)
CMYKcmyk(40.8%, 72.1%, 0%, 29.8%)
CIE-LABlab(35.20, 50.81, -59.02)
CIE-LCHlch(35.20, 77.88, 310.73°)
OKLaboklab(46.4% 0.091 -0.1686)
OKLCHoklch(46.4% 0.192 298.4)
XYZxyz(15.2191, 8.5998, 43.4972)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32B3 #7BB332
analogous
#323AB3 #6A32B3 #AB32B3
triadic
#6A32B3 #B36A32 #32B36A
tetradic
#6A32B3 #B3323A #7BB332 #32B3AB
square
#6A32B3 #B3323A #7BB332 #32B3AB
split-complementary
#6A32B3 #B3AB32 #3AB332
monochromatic
#311753 #4E2583 #6A32B3 #8953CF #AA83DC

Accessibility & contrast

On white

7.72
#6A32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6A32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32B3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32B3#FFFFFF#000000##FFFFFF
##6A32B31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#58526F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a32b3;
/* rgb */ color: rgb(106, 50, 179);
/* oklch */ color: oklch(46.4% 0.192 298.4);
Tailwind
colors: {
  custom: {
    50: '#9b6fcb',
    500: '#6a32b3',
    950: '#000000',
  },
}
SCSS
$custom: #6a32b3;
$custom-light: #9b6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32b3",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 266.047,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.1916,
    "h": 298.4
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#6A32B3
secondary
#A5C67B
accent
#E0489E
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6A32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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