#6B32B9#6B32B9

#6B32B9 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.198 H 297.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6B32B9
RGBrgb(107, 50, 185)
HSLhsl(265, 57%, 46%)
HSVhsv(265, 73%, 73%)
CMYKcmyk(42.2%, 73%, 0%, 27.5%)
CIE-LABlab(35.81, 52.52, -61.58)
CIE-LCHlch(35.81, 80.93, 310.46°)
OKLaboklab(47.01% 0.0912 -0.1761)
OKLCHoklch(47.01% 0.198 297.4)
XYZxyz(15.9587, 8.9095, 46.7684)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B32B9 #80B932
analogous
#323CB9 #6B32B9 #AE32B9
triadic
#6B32B9 #B96B32 #32B96B
tetradic
#6B32B9 #B9323C #80B932 #32B9AE
square
#6B32B9 #B9323C #80B932 #32B9AE
split-complementary
#6B32B9 #B9AE32 #3CB932
monochromatic
#331859 #4F2589 #6B32B9 #8B57D2 #AC87DF

Accessibility & contrast

On white

7.55
#6B32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6B32B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B32B9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B32B9#FFFFFF#000000##FFFFFF
##6B32B91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#575573
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b32b9;
/* rgb */ color: rgb(107, 50, 185);
/* oklch */ color: oklch(47.0% 0.198 297.4);
Tailwind
colors: {
  custom: {
    50: '#9c6fcf',
    500: '#6b32b9',
    950: '#000000',
  },
}
SCSS
$custom: #6b32b9;
$custom-light: #9c6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b32b9",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 265.333,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47011,
    "c": 0.19831,
    "h": 297.4
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#6B32B9
secondary
#A9C87F
accent
#E147A0
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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