#6A3FAC#6A3FAC

#6A3FAC is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.167 H 297.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6A3FAC
RGBrgb(106, 63, 172)
HSLhsl(264, 46%, 46%)
HSVhsv(264, 63%, 67%)
CMYKcmyk(38.4%, 63.4%, 0%, 32.5%)
CIE-LABlab(37.11, 42.27, -51.76)
CIE-LCHlch(37.11, 66.83, 309.24°)
OKLaboklab(47.61% 0.078 -0.1473)
OKLCHoklch(47.61% 0.167 297.9)
XYZxyz(15.1659, 9.5975, 40.0752)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FAC #81AC3F
analogous
#3F4AAC #6A3FAC #A03FAC
triadic
#6A3FAC #AC6A3F #3FAC6A
tetradic
#6A3FAC #AC3F4A #81AC3F #3FACA0
square
#6A3FAC #AC3F4A #81AC3F #3FACA0
split-complementary
#6A3FAC #ACA03F #4AAC3F
monochromatic
#331E52 #4E2F7F #6A3FAC #8A63C6 #AB8FD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A3FAC#FFFFFF#000000##FFFFFF
##6A3FAC1.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)
#0058AF
Deuteranopia (green-blind)
#0656AA
Tritanopia (blue-blind)
#5A576F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3fac;
/* rgb */ color: rgb(106, 63, 172);
/* oklch */ color: oklch(47.6% 0.167 297.9);
Tailwind
colors: {
  custom: {
    50: '#9976c5',
    500: '#6a3fac',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fac;
$custom-light: #9976c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fac",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 263.67,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.16671,
    "h": 297.9
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#6A3FAC
secondary
#AAC186
accent
#D652A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6A3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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