#6C3AC5#6C3AC5

#6C3AC5 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.203 H 294.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6C3AC5
RGBrgb(108, 58, 197)
HSLhsl(262, 55%, 50%)
HSVhsv(262, 71%, 77%)
CMYKcmyk(45.2%, 70.6%, 0%, 22.7%)
CIE-LABlab(38.28, 51.96, -64.58)
CIE-LCHlch(38.28, 82.89, 308.82°)
OKLaboklab(49.09% 0.0827 -0.1849)
OKLCHoklch(49.09% 0.203 294.1)
XYZxyz(17.7727, 10.2450, 53.8536)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3AC5 #93C53A
analogous
#3A4DC5 #6C3AC5 #B23AC5
triadic
#6C3AC5 #C56C3A #3AC56C
tetradic
#6C3AC5 #C53A4D #93C53A #3AC5B2
square
#6C3AC5 #C53A4D #93C53A #3AC5B2
split-complementary
#6C3AC5 #C5B23A #4DC53A
monochromatic
#381E66 #522C96 #6C3AC5 #8F69D3 #B399E1

Accessibility & contrast

On white

6.89
#6C3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6C3AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3AC5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3AC5#FFFFFF#000000##FFFFFF
##6C3AC51.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#525D7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6c3ac5;
/* rgb */ color: rgb(108, 58, 197);
/* oklch */ color: oklch(49.1% 0.203 294.1);
Tailwind
colors: {
  custom: {
    50: '#9e74d8',
    500: '#6c3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ac5;
$custom-light: #9e74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ac5",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 261.583,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.49091,
    "c": 0.2026,
    "h": 294.1
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#6C3AC5
secondary
#B6CD8E
accent
#DE4AA9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6C3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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