#6C3DB7#6C3DB7

#6C3DB7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.183 H 296.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6C3DB7
RGBrgb(108, 61, 183)
HSLhsl(263, 50%, 48%)
HSVhsv(263, 67%, 72%)
CMYKcmyk(41%, 66.7%, 0%, 28.2%)
CIE-LABlab(37.74, 46.70, -57.24)
CIE-LCHlch(37.74, 73.88, 309.21°)
OKLaboklab(48.37% 0.082 -0.1634)
OKLCHoklch(48.37% 0.183 296.6)
XYZxyz(16.3981, 9.9442, 45.8460)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3DB7 #88B73D
analogous
#3D4BB7 #6C3DB7 #A93DB7
triadic
#6C3DB7 #B76C3D #3DB76C
tetradic
#6C3DB7 #B73D4B #88B73D #3DB7A9
square
#6C3DB7 #B73D4B #88B73D #3DB7A9
split-complementary
#6C3DB7 #B7A93D #4BB73D
monochromatic
#361E5B #512E89 #6C3DB7 #8D65CC #AF93DB

Accessibility & contrast

On white

7.03
#6C3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6C3DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3DB7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3DB7#FFFFFF#000000##FFFFFF
##6C3DB71.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#595A75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c3db7;
/* rgb */ color: rgb(108, 61, 183);
/* oklch */ color: oklch(48.4% 0.183 296.6);
Tailwind
colors: {
  custom: {
    50: '#9c76cd',
    500: '#6c3db7',
    950: '#000000',
  },
}
SCSS
$custom: #6c3db7;
$custom-light: #9c76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3db7",
  "rgb": {
    "r": 108,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 263.115,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48366,
    "c": 0.18277,
    "h": 296.6
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#6C3DB7
secondary
#AFC689
accent
#DA4EA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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