#6C3BB8#6C3BB8

#6C3BB8 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.187 H 296.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6C3BB8
RGBrgb(108, 59, 184)
HSLhsl(264, 51%, 48%)
HSVhsv(264, 68%, 72%)
CMYKcmyk(41.3%, 67.9%, 0%, 27.8%)
CIE-LABlab(37.44, 48.01, -58.33)
CIE-LCHlch(37.44, 75.54, 309.46°)
OKLaboklab(48.17% 0.0839 -0.1665)
OKLCHoklch(48.17% 0.187 296.7)
XYZxyz(16.3978, 9.7765, 46.3612)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3BB8 #87B83B
analogous
#3B49B8 #6C3BB8 #AA3BB8
triadic
#6C3BB8 #B86C3B #3BB86C
tetradic
#6C3BB8 #B83B49 #87B83B #3BB8AA
square
#6C3BB8 #B83B49 #87B83B #3BB8AA
split-complementary
#6C3BB8 #B8AA3B #49B83B
monochromatic
#361D5B #512C8A #6C3BB8 #8D63CD #AF92DC

Accessibility & contrast

On white

7.11
#6C3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C3BB8
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3BB8#FFFFFF#000000##FFFFFF
##6C3BB81.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3bb8;
/* rgb */ color: rgb(108, 59, 184);
/* oklch */ color: oklch(48.2% 0.187 296.7);
Tailwind
colors: {
  custom: {
    50: '#9c74ce',
    500: '#6c3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #6c3bb8;
$custom-light: #9c74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3bb8",
  "rgb": {
    "r": 108,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 263.52,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.18651,
    "h": 296.7
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#6C3BB8
secondary
#AEC788
accent
#DB4DA3
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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