#6A32B1#6A32B1

#6A32B1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.189 H 298.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6A32B1
RGBrgb(106, 50, 177)
HSLhsl(266, 56%, 45%)
HSVhsv(266, 72%, 69%)
CMYKcmyk(40.1%, 71.8%, 0%, 30.6%)
CIE-LABlab(35.04, 50.30, -58.09)
CIE-LCHlch(35.04, 76.84, 310.89°)
OKLaboklab(46.24% 0.0914 -0.1659)
OKLCHoklch(46.24% 0.189 298.9)
XYZxyz(15.0183, 8.5195, 42.4396)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32B1 #79B132
analogous
#3239B1 #6A32B1 #AA32B1
triadic
#6A32B1 #B16A32 #32B16A
tetradic
#6A32B1 #B13239 #79B132 #32B1AA
square
#6A32B1 #B13239 #79B132 #32B1AA
split-complementary
#6A32B1 #B1AA32 #39B132
monochromatic
#311752 #4D2581 #6A32B1 #8952CE #A982DC

Accessibility & contrast

On white

7.77
#6A32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6A32B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32B1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32B1#FFFFFF#000000##FFFFFF
##6A32B11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#59516E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a32b1;
/* rgb */ color: rgb(106, 50, 177);
/* oklch */ color: oklch(46.2% 0.189 298.9);
Tailwind
colors: {
  custom: {
    50: '#9b6fc9',
    500: '#6a32b1',
    950: '#000000',
  },
}
SCSS
$custom: #6a32b1;
$custom-light: #9b6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32b1",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 266.457,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.1894,
    "h": 298.9
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#6A32B1
secondary
#A4C57A
accent
#DF499D
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6A32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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