#6C3ABC#6C3ABC

#6C3ABC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.192 H 296.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6C3ABC
RGBrgb(108, 58, 188)
HSLhsl(263, 53%, 48%)
HSVhsv(263, 69%, 74%)
CMYKcmyk(42.6%, 69.1%, 0%, 26.3%)
CIE-LABlab(37.56, 49.58, -60.48)
CIE-LCHlch(37.56, 78.20, 309.34°)
OKLaboklab(48.36% 0.0843 -0.1729)
OKLCHoklch(48.36% 0.192 296)
XYZxyz(16.7721, 9.8447, 48.5838)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3ABC #8ABC3A
analogous
#3A49BC #6C3ABC #AD3ABC
triadic
#6C3ABC #BC6C3A #3ABC6C
tetradic
#6C3ABC #BC3A49 #8ABC3A #3ABCAD
square
#6C3ABC #BC3A49 #8ABC3A #3ABCAD
split-complementary
#6C3ABC #BCAD3A #49BC3A
monochromatic
#361D5E #512C8D #6C3ABC #8D64CF #B093DE

Accessibility & contrast

On white

7.07
#6C3ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6C3ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3ABC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3ABC#FFFFFF#000000##FFFFFF
##6C3ABC1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#575A76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3abc;
/* rgb */ color: rgb(108, 58, 188);
/* oklch */ color: oklch(48.4% 0.192 296.0);
Tailwind
colors: {
  custom: {
    50: '#9d74d1',
    500: '#6c3abc',
    950: '#000000',
  },
}
SCSS
$custom: #6c3abc;
$custom-light: #9d74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3abc",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 263.077,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.19236,
    "h": 296
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#6C3ABC
secondary
#B0C989
accent
#DC4CA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C3ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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