#6B32BB#6B32BB

#6B32BB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.200 H 296.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6B32BB
RGBrgb(107, 50, 187)
HSLhsl(265, 58%, 46%)
HSVhsv(265, 73%, 73%)
CMYKcmyk(42.8%, 73.3%, 0%, 26.7%)
CIE-LABlab(35.97, 53.03, -62.49)
CIE-LCHlch(35.97, 81.96, 310.32°)
OKLaboklab(47.18% 0.0908 -0.1788)
OKLCHoklch(47.18% 0.2 296.9)
XYZxyz(16.1713, 8.9945, 47.8882)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B32BB #82BB32
analogous
#323DBB #6B32BB #B032BB
triadic
#6B32BB #BB6B32 #32BB6B
tetradic
#6B32BB #BB323D #82BB32 #32BBB0
square
#6B32BB #BB323D #82BB32 #32BBB0
split-complementary
#6B32BB #BBB032 #3DBB32
monochromatic
#34185A #4F258B #6B32BB #8B58D2 #AC88DF

Accessibility & contrast

On white

7.50
#6B32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6B32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B32BB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B32BB#FFFFFF#000000##FFFFFF
##6B32BB1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#565574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b32bb;
/* rgb */ color: rgb(107, 50, 187);
/* oklch */ color: oklch(47.2% 0.200 296.9);
Tailwind
colors: {
  custom: {
    50: '#9c6fd0',
    500: '#6b32bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b32bb;
$custom-light: #9c6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b32bb",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 264.964,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.20049,
    "h": 296.9
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#6B32BB
secondary
#ABC980
accent
#E147A1
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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