#6A32AB#6A32AB

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

Color values

HEX#6A32AB
RGBrgb(106, 50, 171)
HSLhsl(268, 55%, 43%)
HSVhsv(268, 71%, 67%)
CMYKcmyk(38%, 70.8%, 0%, 32.9%)
CIE-LABlab(34.57, 48.78, -55.28)
CIE-LCHlch(34.57, 73.72, 311.43°)
OKLaboklab(45.76% 0.0925 -0.1576)
OKLCHoklch(45.76% 0.183 300.4)
XYZxyz(14.4333, 8.2855, 39.3590)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32AB #73AB32
analogous
#3236AB #6A32AB #A632AB
triadic
#6A32AB #AB6A32 #32AB6A
tetradic
#6A32AB #AB3236 #73AB32 #32ABA6
square
#6A32AB #AB3236 #73AB32 #32ABA6
split-complementary
#6A32AB #ABA632 #36AB32
monochromatic
#2F164C #4D247C #6A32AB #884FCB #A87ED9

Accessibility & contrast

On white

7.90
#6A32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A32AB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32AB#FFFFFF#000000##FFFFFF
##6A32AB1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#5B4F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a32ab;
/* rgb */ color: rgb(106, 50, 171);
/* oklch */ color: oklch(45.8% 0.183 300.4);
Tailwind
colors: {
  custom: {
    50: '#9a6ec5',
    500: '#6a32ab',
    950: '#000000',
  },
}
SCSS
$custom: #6a32ab;
$custom-light: #9a6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32ab",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 267.769,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45757,
    "c": 0.18276,
    "h": 300.4
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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