#6C3CB9#6C3CB9

#6C3CB9 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.186 H 296.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6C3CB9
RGBrgb(108, 60, 185)
HSLhsl(263, 51%, 48%)
HSVhsv(263, 68%, 73%)
CMYKcmyk(41.6%, 67.6%, 0%, 27.5%)
CIE-LABlab(37.70, 47.76, -58.49)
CIE-LCHlch(37.70, 75.51, 309.23°)
OKLaboklab(48.39% 0.0828 -0.167)
OKLCHoklch(48.39% 0.186 296.4)
XYZxyz(16.5549, 9.9223, 46.9325)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CB9 #89B93C
analogous
#3C4BB9 #6C3CB9 #AA3CB9
triadic
#6C3CB9 #B96C3C #3CB96C
tetradic
#6C3CB9 #B93C4B #89B93C #3CB9AA
square
#6C3CB9 #B93C4B #89B93C #3CB9AA
split-complementary
#6C3CB9 #B9AA3C #4BB93C
monochromatic
#361E5D #512D8B #6C3CB9 #8D65CD #AF93DC

Accessibility & contrast

On white

7.04
#6C3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6C3CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3CB9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CB9#FFFFFF#000000##FFFFFF
##6C3CB91.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#585A75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c3cb9;
/* rgb */ color: rgb(108, 60, 185);
/* oklch */ color: oklch(48.4% 0.186 296.4);
Tailwind
colors: {
  custom: {
    50: '#9c75cf',
    500: '#6c3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #6c3cb9;
$custom-light: #9c75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3cb9",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 263.04,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48385,
    "c": 0.1864,
    "h": 296.4
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#6C3CB9
secondary
#B0C789
accent
#DA4DA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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