#6C3EB7#6C3EB7

#6C3EB7 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.181 H 296.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6C3EB7
RGBrgb(108, 62, 183)
HSLhsl(263, 49%, 48%)
HSVhsv(263, 66%, 72%)
CMYKcmyk(41%, 66.1%, 0%, 28.2%)
CIE-LABlab(37.94, 46.17, -56.93)
CIE-LCHlch(37.94, 73.30, 309.04°)
OKLaboklab(48.51% 0.0809 -0.1624)
OKLCHoklch(48.51% 0.181 296.5)
XYZxyz(16.4520, 10.0520, 45.8640)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EB7 #89B73E
analogous
#3E4CB7 #6C3EB7 #A83EB7
triadic
#6C3EB7 #B76C3E #3EB76C
tetradic
#6C3EB7 #B73E4C #89B73E #3EB7A8
square
#6C3EB7 #B73E4C #89B73E #3EB7A8
split-complementary
#6C3EB7 #B7A83E #4CB73E
monochromatic
#361F5C #512F89 #6C3EB7 #8D67CB #AF94DB

Accessibility & contrast

On white

6.98
#6C3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6C3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3EB7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EB7#FFFFFF#000000##FFFFFF
##6C3EB71.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#595A75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c3eb7;
/* rgb */ color: rgb(108, 62, 183);
/* oklch */ color: oklch(48.5% 0.181 296.5);
Tailwind
colors: {
  custom: {
    50: '#9c76cd',
    500: '#6c3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #6c3eb7;
$custom-light: #9c76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3eb7",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 262.81,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.18147,
    "h": 296.5
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#6C3EB7
secondary
#B0C68A
accent
#D94FA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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