#6A32AA#6A32AA

#6A32AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.182 H 300.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6A32AA
RGBrgb(106, 50, 170)
HSLhsl(268, 55%, 43%)
HSVhsv(268, 71%, 67%)
CMYKcmyk(37.6%, 70.6%, 0%, 33.3%)
CIE-LABlab(34.49, 48.53, -54.81)
CIE-LCHlch(34.49, 73.20, 311.52°)
OKLaboklab(45.68% 0.0927 -0.1562)
OKLCHoklch(45.68% 0.182 300.7)
XYZxyz(14.3384, 8.2475, 38.8589)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32AA #72AA32
analogous
#3236AA #6A32AA #A632AA
triadic
#6A32AA #AA6A32 #32AA6A
tetradic
#6A32AA #AA3236 #72AA32 #32AAA6
square
#6A32AA #AA3236 #72AA32 #32AAA6
split-complementary
#6A32AA #AAA632 #36AA32
monochromatic
#2F164B #4D247B #6A32AA #884ECB #A87DD9

Accessibility & contrast

On white

7.93
#6A32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6A32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32AA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32AA#FFFFFF#000000##FFFFFF
##6A32AA1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a32aa;
/* rgb */ color: rgb(106, 50, 170);
/* oklch */ color: oklch(45.7% 0.182 300.7);
Tailwind
colors: {
  custom: {
    50: '#9a6ec4',
    500: '#6a32aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a32aa;
$custom-light: #9a6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32aa",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 268,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45677,
    "c": 0.18165,
    "h": 300.7
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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