#6C3EBD#6C3EBD

#6C3EBD is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.189 H 295.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6C3EBD
RGBrgb(108, 62, 189)
HSLhsl(262, 51%, 49%)
HSVhsv(262, 67%, 74%)
CMYKcmyk(42.9%, 67.2%, 0%, 25.9%)
CIE-LABlab(38.39, 47.78, -59.72)
CIE-LCHlch(38.39, 76.48, 308.66°)
OKLaboklab(48.97% 0.0801 -0.1707)
OKLCHoklch(48.97% 0.189 295.1)
XYZxyz(17.0898, 10.3071, 49.2233)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EBD #8FBD3E
analogous
#3E50BD #6C3EBD #AC3EBD
triadic
#6C3EBD #BD6C3E #3EBD6C
tetradic
#6C3EBD #BD3E50 #8FBD3E #3EBDAC
square
#6C3EBD #BD3E50 #8FBD3E #3EBDAC
split-complementary
#6C3EBD #BDAC3E #50BD3E
monochromatic
#372061 #522F8F #6C3EBD #8E6ACE #B198DD

Accessibility & contrast

On white

6.86
#6C3EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6C3EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3EBD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EBD#FFFFFF#000000##FFFFFF
##6C3EBD1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#565C78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6c3ebd;
/* rgb */ color: rgb(108, 62, 189);
/* oklch */ color: oklch(49.0% 0.189 295.1);
Tailwind
colors: {
  custom: {
    50: '#9c76d2',
    500: '#6c3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ebd;
$custom-light: #9c76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ebd",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 261.732,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48973,
    "c": 0.18853,
    "h": 295.1
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#6C3EBD
secondary
#B4C98E
accent
#DA4EA7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6C3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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