#6A32C2#6A32C2

#6A32C2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.208 H 294.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6A32C2
RGBrgb(106, 50, 194)
HSLhsl(263, 59%, 48%)
HSVhsv(263, 74%, 76%)
CMYKcmyk(45.4%, 74.2%, 0%, 23.9%)
CIE-LABlab(36.44, 54.67, -65.84)
CIE-LCHlch(36.44, 85.58, 309.70°)
OKLaboklab(47.66% 0.0877 -0.1886)
OKLCHoklch(47.66% 0.208 294.9)
XYZxyz(16.8194, 9.2400, 51.9258)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32C2 #8AC232
analogous
#3242C2 #6A32C2 #B232C2
triadic
#6A32C2 #C26A32 #32C26A
tetradic
#6A32C2 #C23242 #8AC232 #32C2B2
square
#6A32C2 #C23242 #8AC232 #32C2B2
split-complementary
#6A32C2 #C2B232 #42C232
monochromatic
#351961 #4F2591 #6A32C2 #8B5CD5 #AE8DE2

Accessibility & contrast

On white

7.37
#6A32C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6A32C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32C2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32C2#FFFFFF#000000##FFFFFF
##6A32C21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#515878
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a32c2;
/* rgb */ color: rgb(106, 50, 194);
/* oklch */ color: oklch(47.7% 0.208 294.9);
Tailwind
colors: {
  custom: {
    50: '#9d6fd6',
    500: '#6a32c2',
    950: '#000000',
  },
}
SCSS
$custom: #6a32c2;
$custom-light: #9d6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32c2",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 263.333,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47663,
    "c": 0.20803,
    "h": 294.9
  },
  "luminance": 0.0924
}

Semantic roles & 50–950 ramp

primary
#6A32C2
secondary
#B0CC84
accent
#E246A5
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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