#6C3EAC#6C3EAC

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

Color values

HEX#6C3EAC
RGBrgb(108, 62, 172)
HSLhsl(265, 47%, 46%)
HSVhsv(265, 64%, 67%)
CMYKcmyk(37.2%, 64%, 0%, 32.5%)
CIE-LABlab(37.14, 43.26, -51.71)
CIE-LCHlch(37.14, 67.42, 309.92°)
OKLaboklab(47.68% 0.082 -0.1471)
OKLCHoklch(47.68% 0.168 299.1)
XYZxyz(15.3515, 9.6118, 40.0682)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EAC #7EAC3E
analogous
#3E47AC #6C3EAC #A33EAC
triadic
#6C3EAC #AC6C3E #3EAC6C
tetradic
#6C3EAC #AC3E47 #7EAC3E #3EACA3
square
#6C3EAC #AC3E47 #7EAC3E #3EACA3
split-complementary
#6C3EAC #ACA33E #47AC3E
monochromatic
#341E52 #502E7F #6C3EAC #8B61C6 #AC8ED6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C3EAC#FFFFFF#000000##FFFFFF
##6C3EAC1.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)
#0057AF
Deuteranopia (green-blind)
#0856AA
Tritanopia (blue-blind)
#5E566F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c3eac;
/* rgb */ color: rgb(108, 62, 172);
/* oklch */ color: oklch(47.7% 0.168 299.1);
Tailwind
colors: {
  custom: {
    50: '#9b76c5',
    500: '#6c3eac',
    950: '#000000',
  },
}
SCSS
$custom: #6c3eac;
$custom-light: #9b76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3eac",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 265.091,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.16839,
    "h": 299.1
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#6C3EAC
secondary
#A8C185
accent
#D7519F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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