#6A32B8#6A32B8

#6A32B8 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.197 H 297.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6A32B8
RGBrgb(106, 50, 184)
HSLhsl(265, 57%, 46%)
HSVhsv(265, 73%, 72%)
CMYKcmyk(42.4%, 72.8%, 0%, 27.8%)
CIE-LABlab(35.61, 52.09, -61.32)
CIE-LCHlch(35.61, 80.46, 310.35°)
OKLaboklab(46.82% 0.09 -0.1754)
OKLCHoklch(46.82% 0.197 297.2)
XYZxyz(15.7339, 8.8058, 46.2088)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32B8 #80B832
analogous
#323DB8 #6A32B8 #AD32B8
triadic
#6A32B8 #B86A32 #32B86A
tetradic
#6A32B8 #B8323D #80B832 #32B8AD
square
#6A32B8 #B8323D #80B832 #32B8AD
split-complementary
#6A32B8 #B8AD32 #3DB832
monochromatic
#331858 #4E2588 #6A32B8 #8A56D1 #AB86DE

Accessibility & contrast

On white

7.61
#6A32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6A32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32B8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32B8#FFFFFF#000000##FFFFFF
##6A32B81.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#565472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a32b8;
/* rgb */ color: rgb(106, 50, 184);
/* oklch */ color: oklch(46.8% 0.197 297.2);
Tailwind
colors: {
  custom: {
    50: '#9b6fce',
    500: '#6a32b8',
    950: '#000000',
  },
}
SCSS
$custom: #6a32b8;
$custom-light: #9b6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32b8",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 265.075,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.19711,
    "h": 297.2
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#6A32B8
secondary
#A9C87E
accent
#E147A0
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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