#6C3AB8#6C3AB8

#6C3AB8 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.188 H 296.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6C3AB8
RGBrgb(108, 58, 184)
HSLhsl(264, 52%, 47%)
HSVhsv(264, 68%, 72%)
CMYKcmyk(41.3%, 68.5%, 0%, 27.8%)
CIE-LABlab(37.25, 48.52, -58.63)
CIE-LCHlch(37.25, 76.11, 309.61°)
OKLaboklab(48.04% 0.085 -0.1674)
OKLCHoklch(48.04% 0.188 296.9)
XYZxyz(16.3469, 9.6746, 46.3442)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3AB8 #86B83A
analogous
#3A47B8 #6C3AB8 #AB3AB8
triadic
#6C3AB8 #B86C3A #3AB86C
tetradic
#6C3AB8 #B83A47 #86B83A #3AB8AB
square
#6C3AB8 #B83A47 #86B83A #3AB8AB
split-complementary
#6C3AB8 #B8AB3A #47B83A
monochromatic
#351D5B #512B89 #6C3AB8 #8C62CD #AE90DC

Accessibility & contrast

On white

7.16
#6C3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6C3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3AB8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3AB8#FFFFFF#000000##FFFFFF
##6C3AB81.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#595874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3ab8;
/* rgb */ color: rgb(108, 58, 184);
/* oklch */ color: oklch(48.0% 0.188 296.9);
Tailwind
colors: {
  custom: {
    50: '#9c74ce',
    500: '#6c3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ab8;
$custom-light: #9c74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ab8",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 263.81,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48039,
    "c": 0.18777,
    "h": 296.9
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#6C3AB8
secondary
#AEC787
accent
#DC4CA3
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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