#6C3EB3#6C3EB3

#6C3EB3 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.177 H 297.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6C3EB3
RGBrgb(108, 62, 179)
HSLhsl(264, 49%, 47%)
HSVhsv(264, 65%, 70%)
CMYKcmyk(39.7%, 65.4%, 0%, 29.8%)
CIE-LABlab(37.64, 45.11, -55.05)
CIE-LCHlch(37.64, 71.17, 309.33°)
OKLaboklab(48.2% 0.0813 -0.1569)
OKLCHoklch(48.2% 0.177 297.4)
XYZxyz(16.0416, 9.8878, 43.7025)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EB3 #85B33E
analogous
#3E4AB3 #6C3EB3 #A73EB3
triadic
#6C3EB3 #B36C3E #3EB36C
tetradic
#6C3EB3 #B33E4A #85B33E #3EB3A7
square
#6C3EB3 #B33E4A #85B33E #3EB3A7
split-complementary
#6C3EB3 #B3A73E #4AB33E
monochromatic
#351F58 #512E86 #6C3EB3 #8C65CA #AE92D9

Accessibility & contrast

On white

7.05
#6C3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C3EB3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EB3#FFFFFF#000000##FFFFFF
##6C3EB31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#5B5973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c3eb3;
/* rgb */ color: rgb(108, 62, 179);
/* oklch */ color: oklch(48.2% 0.177 297.4);
Tailwind
colors: {
  custom: {
    50: '#9b76cb',
    500: '#6c3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #6c3eb3;
$custom-light: #9b76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3eb3",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 263.59,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.482,
    "c": 0.17673,
    "h": 297.4
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#6C3EB3
secondary
#ADC588
accent
#D850A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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