#6A32BB#6A32BB

#6A32BB is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.200 H 296.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6A32BB
RGBrgb(106, 50, 187)
HSLhsl(265, 58%, 46%)
HSVhsv(265, 73%, 73%)
CMYKcmyk(43.3%, 73.3%, 0%, 26.7%)
CIE-LABlab(35.85, 52.86, -62.69)
CIE-LCHlch(35.85, 82.00, 310.14°)
OKLaboklab(47.07% 0.0893 -0.1794)
OKLCHoklch(47.07% 0.2 296.5)
XYZxyz(16.0517, 8.9329, 47.8826)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32BB #83BB32
analogous
#323EBB #6A32BB #AF32BB
triadic
#6A32BB #BB6A32 #32BB6A
tetradic
#6A32BB #BB323E #83BB32 #32BBAF
square
#6A32BB #BB323E #83BB32 #32BBAF
split-complementary
#6A32BB #BBAF32 #3EBB32
monochromatic
#33185A #4F258B #6A32BB #8A58D2 #AC88DF

Accessibility & contrast

On white

7.54
#6A32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6A32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32BB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32BB#FFFFFF#000000##FFFFFF
##6A32BB1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#545574
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a32bb;
/* rgb */ color: rgb(106, 50, 187);
/* oklch */ color: oklch(47.1% 0.200 296.5);
Tailwind
colors: {
  custom: {
    50: '#9c6fd0',
    500: '#6a32bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a32bb;
$custom-light: #9c6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32bb",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 264.526,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.2004,
    "h": 296.5
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#6A32BB
secondary
#ABC980
accent
#E147A2
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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