#6B32A4#6B32A4

#6B32A4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.175 H 302.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6B32A4
RGBrgb(107, 50, 164)
HSLhsl(270, 53%, 42%)
HSVhsv(270, 70%, 64%)
CMYKcmyk(34.8%, 69.5%, 0%, 35.7%)
CIE-LABlab(34.16, 47.22, -51.73)
CIE-LCHlch(34.16, 70.05, 312.39°)
OKLaboklab(45.33% 0.095 -0.1472)
OKLCHoklch(45.33% 0.175 302.8)
XYZxyz(13.9033, 8.0873, 35.9433)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B32A4 #6BA432
analogous
#3232A4 #6B32A4 #A432A4
triadic
#6B32A4 #A46B32 #32A46B
tetradic
#6B32A4 #A43232 #6BA432 #32A4A4
square
#6B32A4 #A43232 #6BA432 #32A4A4
split-complementary
#6B32A4 #A4A432 #32A432
monochromatic
#2E1546 #4C2475 #6B32A4 #8A4BC8 #A87AD6

Accessibility & contrast

On white

8.02
#6B32A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6B32A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B32A4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B32A4#FFFFFF#000000##FFFFFF
##6B32A41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#604C67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b32a4;
/* rgb */ color: rgb(107, 50, 164);
/* oklch */ color: oklch(45.3% 0.175 302.8);
Tailwind
colors: {
  custom: {
    50: '#9a6ec0',
    500: '#6b32a4',
    950: '#000000',
  },
}
SCSS
$custom: #6b32a4;
$custom-light: #9a6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b32a4",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 270,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45327,
    "c": 0.17517,
    "h": 302.8
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#6B32A4
secondary
#99BF73
accent
#DD4B94
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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