#6A32CA#6A32CA

#6A32CA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.217 H 293.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6A32CA
RGBrgb(106, 50, 202)
HSLhsl(262, 60%, 49%)
HSVhsv(262, 75%, 79%)
CMYKcmyk(47.5%, 75.2%, 0%, 20.8%)
CIE-LABlab(37.13, 56.74, -69.38)
CIE-LCHlch(37.13, 89.63, 309.28°)
OKLaboklab(48.36% 0.0857 -0.199)
OKLCHoklch(48.36% 0.217 293.3)
XYZxyz(17.7422, 9.6091, 56.7856)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A32CA #92CA32
analogous
#3246CA #6A32CA #B632CA
triadic
#6A32CA #CA6A32 #32CA6A
tetradic
#6A32CA #CA3246 #92CA32 #32CAB6
square
#6A32CA #CA3246 #92CA32 #32CAB6
split-complementary
#6A32CA #CAB632 #46CA32
monochromatic
#371A68 #502699 #6A32CA #8D61D8 #B092E4

Accessibility & contrast

On white

7.19
#6A32CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6A32CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A32CA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A32CA#FFFFFF#000000##FFFFFF
##6A32CA1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#4C5B7C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a32ca;
/* rgb */ color: rgb(106, 50, 202);
/* oklch */ color: oklch(48.4% 0.217 293.3);
Tailwind
colors: {
  custom: {
    50: '#9e70db',
    500: '#6a32ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a32ca;
$custom-light: #9e70db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a32ca",
  "rgb": {
    "r": 106,
    "g": 50,
    "b": 202
  },
  "hsl": {
    "h": 262.105,
    "s": 60.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48359,
    "c": 0.21669,
    "h": 293.3
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#6A32CA
secondary
#B5CF89
accent
#E344A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A32CA

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

Preview Lab → · Contrast checker → · Palette generator →

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