#6C3EAE#6C3EAE

#6C3EAE is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.8% C 0.171 H 298.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6C3EAE
RGBrgb(108, 62, 174)
HSLhsl(265, 47%, 46%)
HSVhsv(265, 64%, 68%)
CMYKcmyk(37.9%, 64.4%, 0%, 31.8%)
CIE-LABlab(37.28, 43.79, -52.67)
CIE-LCHlch(37.28, 68.49, 309.74°)
OKLaboklab(47.82% 0.0818 -0.1499)
OKLCHoklch(47.82% 0.171 298.6)
XYZxyz(15.5450, 9.6892, 41.0874)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EAE #80AE3E
analogous
#3E48AE #6C3EAE #A43EAE
triadic
#6C3EAE #AE6C3E #3EAE6C
tetradic
#6C3EAE #AE3E48 #80AE3E #3EAEA4
square
#6C3EAE #AE3E48 #80AE3E #3EAEA4
split-complementary
#6C3EAE #AEA43E #48AE3E
monochromatic
#341E54 #502E81 #6C3EAE #8C62C7 #AD8FD7

Accessibility & contrast

On white

7.15
#6C3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6C3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3EAE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EAE#FFFFFF#000000##FFFFFF
##6C3EAE1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#5D5770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3eae;
/* rgb */ color: rgb(108, 62, 174);
/* oklch */ color: oklch(47.8% 0.171 298.6);
Tailwind
colors: {
  custom: {
    50: '#9b76c7',
    500: '#6c3eae',
    950: '#000000',
  },
}
SCSS
$custom: #6c3eae;
$custom-light: #9b76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3eae",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 264.643,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47824,
    "c": 0.17078,
    "h": 298.6
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#6C3EAE
secondary
#A9C286
accent
#D751A0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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