#6B32B8#6B32B8

#6B32B8 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.197 H 297.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6B32B8
RGBrgb(107, 50, 184)
HSLhsl(266, 57%, 46%)
HSVhsv(266, 73%, 72%)
CMYKcmyk(41.8%, 72.8%, 0%, 27.8%)
CIE-LABlab(35.73, 52.27, -61.12)
CIE-LCHlch(35.73, 80.42, 310.54°)
OKLaboklab(46.93% 0.0914 -0.1747)
OKLCHoklch(46.93% 0.197 297.6)
XYZxyz(15.8535, 8.8674, 46.2144)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B32B8 #7FB832
analogous
#323CB8 #6B32B8 #AE32B8
triadic
#6B32B8 #B86B32 #32B86B
tetradic
#6B32B8 #B8323C #7FB832 #32B8AE
square
#6B32B8 #B8323C #7FB832 #32B8AE
split-complementary
#6B32B8 #B8AE32 #3CB832
monochromatic
#331858 #4F2588 #6B32B8 #8A56D1 #AC86DE

Accessibility & contrast

On white

7.57
#6B32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6B32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B32B8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B32B8#FFFFFF#000000##FFFFFF
##6B32B81.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#585472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b32b8;
/* rgb */ color: rgb(107, 50, 184);
/* oklch */ color: oklch(46.9% 0.197 297.6);
Tailwind
colors: {
  custom: {
    50: '#9c6fce',
    500: '#6b32b8',
    950: '#000000',
  },
}
SCSS
$custom: #6b32b8;
$custom-light: #9c6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b32b8",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 265.522,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46928,
    "c": 0.19722,
    "h": 297.6
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#6B32B8
secondary
#A8C87E
accent
#E1479F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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