#6C3BB9#6C3BB9

#6C3BB9 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.188 H 296.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6C3BB9
RGBrgb(108, 59, 185)
HSLhsl(263, 52%, 48%)
HSVhsv(263, 68%, 73%)
CMYKcmyk(41.6%, 68.1%, 0%, 27.5%)
CIE-LABlab(37.51, 48.27, -58.79)
CIE-LCHlch(37.51, 76.07, 309.39°)
OKLaboklab(48.25% 0.0838 -0.1679)
OKLCHoklch(48.25% 0.188 296.5)
XYZxyz(16.5030, 9.8185, 46.9152)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3BB9 #88B93B
analogous
#3B49B9 #6C3BB9 #AB3BB9
triadic
#6C3BB9 #B96C3B #3BB96C
tetradic
#6C3BB9 #B93B49 #88B93B #3BB9AB
square
#6C3BB9 #B93B49 #88B93B #3BB9AB
split-complementary
#6C3BB9 #B9AB3B #49B93B
monochromatic
#361D5C #512C8B #6C3BB9 #8D64CD #AF92DC

Accessibility & contrast

On white

7.09
#6C3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6C3BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3BB9
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3BB9#FFFFFF#000000##FFFFFF
##6C3BB91.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3bb9;
/* rgb */ color: rgb(108, 59, 185);
/* oklch */ color: oklch(48.3% 0.188 296.5);
Tailwind
colors: {
  custom: {
    50: '#9c74cf',
    500: '#6c3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #6c3bb9;
$custom-light: #9c74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3bb9",
  "rgb": {
    "r": 108,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 263.333,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48251,
    "c": 0.18766,
    "h": 296.5
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#6C3BB9
secondary
#AFC788
accent
#DB4DA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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