#6A32CB#6A32CB

#6A32CB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.218 H 293.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6A32CB
RGBrgb(106, 50, 203)
HSLhsl(262, 60%, 50%)
HSVhsv(262, 75%, 80%)
CMYKcmyk(47.8%, 75.4%, 0%, 20.4%)
CIE-LABlab(37.22, 57.00, -69.82)
CIE-LCHlch(37.22, 90.13, 309.23°)
OKLaboklab(48.45% 0.0854 -0.2003)
OKLCHoklch(48.45% 0.218 293.1)
XYZxyz(17.8610, 9.6566, 57.4112)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32CB #93CB32
analogous
#3246CB #6A32CB #B732CB
triadic
#6A32CB #CB6A32 #32CB6A
tetradic
#6A32CB #CB3246 #93CB32 #32CBB7
square
#6A32CB #CB3246 #93CB32 #32CBB7
split-complementary
#6A32CB #CBB732 #46CB32
monochromatic
#371A69 #50269A #6A32CB #8D62D8 #B193E4

Accessibility & contrast

On white

7.16
#6A32CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6A32CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32CB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32CB#FFFFFF#000000##FFFFFF
##6A32CB1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#4C5C7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a32cb;
/* rgb */ color: rgb(106, 50, 203);
/* oklch */ color: oklch(48.4% 0.218 293.1);
Tailwind
colors: {
  custom: {
    50: '#9e70dc',
    500: '#6a32cb',
    950: '#000000',
  },
}
SCSS
$custom: #6a32cb;
$custom-light: #9e70dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32cb",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 261.961,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.21778,
    "h": 293.1
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#6A32CB
secondary
#B6CF89
accent
#E444A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A32CB

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

Preview Lab → · Contrast checker → · Palette generator →

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