#6B32B2#6B32B2

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

Color values

HEX#6B32B2
RGBrgb(107, 50, 178)
HSLhsl(267, 56%, 45%)
HSVhsv(267, 72%, 70%)
CMYKcmyk(39.9%, 71.9%, 0%, 30.2%)
CIE-LABlab(35.24, 50.74, -58.35)
CIE-LCHlch(35.24, 77.33, 311.01°)
OKLaboklab(46.43% 0.0927 -0.1666)
OKLCHoklch(46.43% 0.191 299.1)
XYZxyz(15.2379, 8.6212, 42.9721)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B32B2 #79B232
analogous
#3239B2 #6B32B2 #AB32B2
triadic
#6B32B2 #B26B32 #32B26B
tetradic
#6B32B2 #B23239 #79B232 #32B2AB
square
#6B32B2 #B23239 #79B232 #32B2AB
split-complementary
#6B32B2 #B2AB32 #39B232
monochromatic
#321752 #4E2582 #6B32B2 #8A53CF #AA82DC

Accessibility & contrast

On white

7.71
#6B32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B32B2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B32B2#FFFFFF#000000##FFFFFF
##6B32B21.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#5A526F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b32b2;
/* rgb */ color: rgb(107, 50, 178);
/* oklch */ color: oklch(46.4% 0.191 299.1);
Tailwind
colors: {
  custom: {
    50: '#9b6fca',
    500: '#6b32b2',
    950: '#000000',
  },
}
SCSS
$custom: #6b32b2;
$custom-light: #9b6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b32b2",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 266.719,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.19064,
    "h": 299.1
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#6B32B2
secondary
#A4C57B
accent
#DF489C
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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