#6C3AAB#6C3AAB

#6C3AAB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.173 H 300.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6C3AAB
RGBrgb(108, 58, 171)
HSLhsl(267, 49%, 45%)
HSVhsv(267, 66%, 67%)
CMYKcmyk(36.8%, 66.1%, 0%, 32.9%)
CIE-LABlab(36.28, 45.13, -52.50)
CIE-LCHlch(36.28, 69.23, 310.69°)
OKLaboklab(47.04% 0.0867 -0.1494)
OKLCHoklch(47.04% 0.173 300.1)
XYZxyz(15.0463, 9.1544, 39.4945)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3AAB #79AB3A
analogous
#3A40AB #6C3AAB #A53AAB
triadic
#6C3AAB #AB6C3A #3AAB6C
tetradic
#6C3AAB #AB3A40 #79AB3A #3AABA5
square
#6C3AAB #AB3A40 #79AB3A #3AABA5
split-complementary
#6C3AAB #ABA53A #40AB3A
monochromatic
#321B50 #4F2A7D #6C3AAB #8B5BC7 #AB89D7

Accessibility & contrast

On white

7.42
#6C3AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6C3AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3AAB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3AAB#FFFFFF#000000##FFFFFF
##6C3AAB1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#5E546D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c3aab;
/* rgb */ color: rgb(108, 58, 171);
/* oklch */ color: oklch(47.0% 0.173 300.1);
Tailwind
colors: {
  custom: {
    50: '#9b73c5',
    500: '#6c3aab',
    950: '#000000',
  },
}
SCSS
$custom: #6c3aab;
$custom-light: #9b73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3aab",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 266.549,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47035,
    "c": 0.17272,
    "h": 300.1
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#6C3AAB
secondary
#A4C180
accent
#D94F9C
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6C3AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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