#6A32B5#6A32B5

#6A32B5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.194 H 297.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6A32B5
RGBrgb(106, 50, 181)
HSLhsl(266, 57%, 45%)
HSVhsv(266, 72%, 71%)
CMYKcmyk(41.4%, 72.4%, 0%, 29%)
CIE-LABlab(35.36, 51.32, -59.94)
CIE-LCHlch(35.36, 78.91, 310.57°)
OKLaboklab(46.57% 0.0906 -0.1713)
OKLCHoklch(46.57% 0.194 297.9)
XYZxyz(15.4228, 8.6813, 44.5702)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32B5 #7DB532
analogous
#323BB5 #6A32B5 #AB32B5
triadic
#6A32B5 #B56A32 #32B56A
tetradic
#6A32B5 #B5323B #7DB532 #32B5AB
square
#6A32B5 #B5323B #7DB532 #32B5AB
split-complementary
#6A32B5 #B5AB32 #3BB532
monochromatic
#321855 #4E2585 #6A32B5 #8954D0 #AA84DD

Accessibility & contrast

On white

7.67
#6A32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6A32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32B5
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32B5#FFFFFF#000000##FFFFFF
##6A32B51.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#575370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a32b5;
/* rgb */ color: rgb(106, 50, 181);
/* oklch */ color: oklch(46.6% 0.194 297.9);
Tailwind
colors: {
  custom: {
    50: '#9b6fcc',
    500: '#6a32b5',
    950: '#000000',
  },
}
SCSS
$custom: #6a32b5;
$custom-light: #9b6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32b5",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 265.649,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46567,
    "c": 0.19381,
    "h": 297.9
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#6A32B5
secondary
#A7C77C
accent
#E0489F
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6A32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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