#6B32B1#6B32B1

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

Color values

HEX#6B32B1
RGBrgb(107, 50, 177)
HSLhsl(267, 56%, 45%)
HSVhsv(267, 72%, 69%)
CMYKcmyk(39.5%, 71.8%, 0%, 30.6%)
CIE-LABlab(35.16, 50.49, -57.89)
CIE-LCHlch(35.16, 76.81, 311.10°)
OKLaboklab(46.35% 0.0928 -0.1652)
OKLCHoklch(46.35% 0.19 299.3)
XYZxyz(15.1378, 8.5811, 42.4452)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B32B1 #78B132
analogous
#3239B1 #6B32B1 #AB32B1
triadic
#6B32B1 #B16B32 #32B16B
tetradic
#6B32B1 #B13239 #78B132 #32B1AB
square
#6B32B1 #B13239 #78B132 #32B1AB
split-complementary
#6B32B1 #B1AB32 #39B132
monochromatic
#311752 #4E2581 #6B32B1 #8A52CE #AA82DC

Accessibility & contrast

On white

7.73
#6B32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B32B1
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B32B1#FFFFFF#000000##FFFFFF
##6B32B11.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#5B516E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b32b1;
/* rgb */ color: rgb(107, 50, 177);
/* oklch */ color: oklch(46.4% 0.190 299.3);
Tailwind
colors: {
  custom: {
    50: '#9b6fc9',
    500: '#6b32b1',
    950: '#000000',
  },
}
SCSS
$custom: #6b32b1;
$custom-light: #9b6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b32b1",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 266.929,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46354,
    "c": 0.18954,
    "h": 299.3
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#6B32B1
secondary
#A3C57A
accent
#DF499C
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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