#6B32AA#6B32AA

#6B32AA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.182 H 301.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6B32AA
RGBrgb(107, 50, 170)
HSLhsl(269, 55%, 43%)
HSVhsv(269, 71%, 67%)
CMYKcmyk(37.1%, 70.6%, 0%, 33.3%)
CIE-LABlab(34.62, 48.72, -54.60)
CIE-LCHlch(34.62, 73.18, 311.75°)
OKLaboklab(45.79% 0.0941 -0.1556)
OKLCHoklch(45.79% 0.182 301.2)
XYZxyz(14.4579, 8.3092, 38.8645)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B32AA #71AA32
analogous
#3235AA #6B32AA #A732AA
triadic
#6B32AA #AA6B32 #32AA6B
tetradic
#6B32AA #AA3235 #71AA32 #32AAA7
square
#6B32AA #AA3235 #71AA32 #32AAA7
split-complementary
#6B32AA #AAA732 #35AA32
monochromatic
#2F164B #4D247B #6B32AA #894ECB #A97DD9

Accessibility & contrast

On white

7.89
#6B32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6B32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B32AA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B32AA#FFFFFF#000000##FFFFFF
##6B32AA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#5D4F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b32aa;
/* rgb */ color: rgb(107, 50, 170);
/* oklch */ color: oklch(45.8% 0.182 301.2);
Tailwind
colors: {
  custom: {
    50: '#9b6fc4',
    500: '#6b32aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b32aa;
$custom-light: #9b6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b32aa",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 268.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45794,
    "c": 0.18182,
    "h": 301.2
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#6B32AA
secondary
#9EC276
accent
#DE4A98
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6B32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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