#6C3AB9#6C3AB9

#6C3AB9 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.189 H 296.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6C3AB9
RGBrgb(108, 58, 185)
HSLhsl(264, 52%, 48%)
HSVhsv(264, 69%, 73%)
CMYKcmyk(41.6%, 68.6%, 0%, 27.5%)
CIE-LABlab(37.33, 48.79, -59.09)
CIE-LCHlch(37.33, 76.63, 309.54°)
OKLaboklab(48.12% 0.0848 -0.1688)
OKLCHoklch(48.12% 0.189 296.7)
XYZxyz(16.4521, 9.7167, 46.8982)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3AB9 #87B93A
analogous
#3A48B9 #6C3AB9 #AB3AB9
triadic
#6C3AB9 #B96C3A #3AB96C
tetradic
#6C3AB9 #B93A48 #87B93A #3AB9AB
square
#6C3AB9 #B93A48 #87B93A #3AB9AB
split-complementary
#6C3AB9 #B9AB3A #48B93A
monochromatic
#361D5C #512B8A #6C3AB9 #8D62CE #AF91DC

Accessibility & contrast

On white

7.13
#6C3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C3AB9
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3AB9#FFFFFF#000000##FFFFFF
##6C3AB91.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#585975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3ab9;
/* rgb */ color: rgb(108, 58, 185);
/* oklch */ color: oklch(48.1% 0.189 296.7);
Tailwind
colors: {
  custom: {
    50: '#9c74cf',
    500: '#6c3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ab9;
$custom-light: #9c74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ab9",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 263.622,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.18891,
    "h": 296.7
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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