#6C3AB4#6C3AB4

#6C3AB4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.183 H 297.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6C3AB4
RGBrgb(108, 58, 180)
HSLhsl(265, 51%, 47%)
HSVhsv(265, 68%, 71%)
CMYKcmyk(40%, 67.8%, 0%, 29.4%)
CIE-LABlab(36.95, 47.47, -56.76)
CIE-LCHlch(36.95, 74.00, 309.91°)
OKLaboklab(47.72% 0.0856 -0.1619)
OKLCHoklch(47.72% 0.183 297.8)
XYZxyz(15.9335, 9.5093, 44.1672)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3AB4 #82B43A
analogous
#3A45B4 #6C3AB4 #A93AB4
triadic
#6C3AB4 #B46C3A #3AB46C
tetradic
#6C3AB4 #B43A45 #82B43A #3AB4A9
square
#6C3AB4 #B43A45 #82B43A #3AB4A9
split-complementary
#6C3AB4 #B4A93A #45B43A
monochromatic
#341C57 #502B86 #6C3AB4 #8C60CC #AD8EDB

Accessibility & contrast

On white

7.24
#6C3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6C3AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3AB4
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3AB4#FFFFFF#000000##FFFFFF
##6C3AB41.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#5B5772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c3ab4;
/* rgb */ color: rgb(108, 58, 180);
/* oklch */ color: oklch(47.7% 0.183 297.8);
Tailwind
colors: {
  custom: {
    50: '#9c74cb',
    500: '#6c3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ab4;
$custom-light: #9c74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ab4",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 264.59,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47724,
    "c": 0.18316,
    "h": 297.8
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#6C3AB4
secondary
#ABC585
accent
#DB4DA1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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