#6C3EAA#6C3EAA

#6C3EAA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.166 H 299.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6C3EAA
RGBrgb(108, 62, 170)
HSLhsl(266, 47%, 45%)
HSVhsv(266, 64%, 67%)
CMYKcmyk(36.5%, 63.5%, 0%, 33.3%)
CIE-LABlab(37.00, 42.74, -50.74)
CIE-LCHlch(37.00, 66.34, 310.10°)
OKLaboklab(47.53% 0.0821 -0.1443)
OKLCHoklch(47.53% 0.166 299.7)
XYZxyz(15.1609, 9.5355, 39.0642)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EAA #7CAA3E
analogous
#3E46AA #6C3EAA #A23EAA
triadic
#6C3EAA #AA6C3E #3EAA6C
tetradic
#6C3EAA #AA3E46 #7CAA3E #3EAAA2
square
#6C3EAA #AA3E46 #7CAA3E #3EAAA2
split-complementary
#6C3EAA #AAA23E #46AA3E
monochromatic
#331D50 #502E7D #6C3EAA #8B60C5 #AC8DD5

Accessibility & contrast

On white

7.22
#6C3EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6C3EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3EAA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EAA#FFFFFF#000000##FFFFFF
##6C3EAA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#0F56A8
Tritanopia (blue-blind)
#5E566E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c3eaa;
/* rgb */ color: rgb(108, 62, 170);
/* oklch */ color: oklch(47.5% 0.166 299.7);
Tailwind
colors: {
  custom: {
    50: '#9b76c4',
    500: '#6c3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6c3eaa;
$custom-light: #9b76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3eaa",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 265.556,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47529,
    "c": 0.166,
    "h": 299.7
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#6C3EAA
secondary
#A6C084
accent
#D6529E
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6C3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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