#6A32A2#6A32A2

#6A32A2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.173 H 302.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6A32A2
RGBrgb(106, 50, 162)
HSLhsl(270, 53%, 42%)
HSVhsv(270, 69%, 64%)
CMYKcmyk(34.6%, 69.1%, 0%, 36.5%)
CIE-LABlab(33.89, 46.52, -50.98)
CIE-LCHlch(33.89, 69.02, 312.38°)
OKLaboklab(45.05% 0.0939 -0.145)
OKLCHoklch(45.05% 0.173 302.9)
XYZxyz(13.6045, 7.9540, 34.9940)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32A2 #6AA232
analogous
#3232A2 #6A32A2 #A232A2
triadic
#6A32A2 #A26A32 #32A26A
tetradic
#6A32A2 #A23232 #6AA232 #32A2A2
square
#6A32A2 #A23232 #6AA232 #32A2A2
split-complementary
#6A32A2 #A2A232 #32A232
monochromatic
#2D1544 #4B2473 #6A32A2 #894AC7 #A779D6

Accessibility & contrast

On white

8.11
#6A32A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6A32A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32A2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32A2#FFFFFF#000000##FFFFFF
##6A32A21.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#5F4C66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a32a2;
/* rgb */ color: rgb(106, 50, 162);
/* oklch */ color: oklch(45.1% 0.173 302.9);
Tailwind
colors: {
  custom: {
    50: '#996ebe',
    500: '#6a32a2',
    950: '#000000',
  },
}
SCSS
$custom: #6a32a2;
$custom-light: #996ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32a2",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 270,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.17274,
    "h": 302.9
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#6A32A2
secondary
#98BE72
accent
#DC4C94
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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