#6C3DC8#6C3DC8

#6C3DC8 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.203 H 293.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6C3DC8
RGBrgb(108, 61, 200)
HSLhsl(260, 56%, 51%)
HSVhsv(260, 70%, 78%)
CMYKcmyk(46%, 69.5%, 0%, 21.6%)
CIE-LABlab(39.06, 51.25, -65.05)
CIE-LCHlch(39.06, 82.82, 308.23°)
OKLaboklab(49.72% 0.0794 -0.1863)
OKLCHoklch(49.72% 0.203 293.1)
XYZxyz(18.2755, 10.6952, 55.7338)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3DC8 #99C83D
analogous
#3D53C8 #6C3DC8 #B13DC8
triadic
#6C3DC8 #C86C3D #3DC86C
tetradic
#6C3DC8 #C83D53 #99C83D #3DC8B1
square
#6C3DC8 #C83D53 #99C83D #3DC8B1
split-complementary
#6C3DC8 #C8B13D #53C83D
monochromatic
#391F6C #522C9C #6C3DC8 #906DD6 #B49CE3

Accessibility & contrast

On white

6.69
#6C3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6C3DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3DC8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3DC8#FFFFFF#000000##FFFFFF
##6C3DC81.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#51607E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6c3dc8;
/* rgb */ color: rgb(108, 61, 200);
/* oklch */ color: oklch(49.7% 0.203 293.1);
Tailwind
colors: {
  custom: {
    50: '#9e76da',
    500: '#6c3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #6c3dc8;
$custom-light: #9e76da;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3dc8",
  "rgb": {
    "r": 108,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 260.288,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.20251,
    "h": 293.1
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#6C3DC8
secondary
#BACF92
accent
#DF49AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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