#6C4EBE#6C4EBE

#6C4EBE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.168 H 291.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6C4EBE
RGBrgb(108, 78, 190)
HSLhsl(256, 46%, 53%)
HSVhsv(256, 59%, 75%)
CMYKcmyk(43.2%, 58.9%, 0%, 25.5%)
CIE-LABlab(41.77, 39.17, -54.83)
CIE-LCHlch(41.77, 67.38, 305.54°)
OKLaboklab(51.45% 0.0623 -0.1563)
OKLCHoklch(51.45% 0.168 291.7)
XYZxyz(18.2004, 12.3541, 50.1308)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EBE #A0BE4E
analogous
#4E68BE #6C4EBE #A44EBE
triadic
#6C4EBE #BE6C4E #4EBE6C
tetradic
#6C4EBE #BE4E68 #A0BE4E #4EBEA4
square
#6C4EBE #BE4E68 #A0BE4E #4EBEA4
split-complementary
#6C4EBE #BEA44E #68BE4E
monochromatic
#39276A #513897 #6C4EBE #917BCE #B6A8DF

Accessibility & contrast

On white

6.05
#6C4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6C4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4EBE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4EBE#FFFFFF#000000##FFFFFF
##6C4EBE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0B60BC
Tritanopia (blue-blind)
#55677E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c4ebe;
/* rgb */ color: rgb(108, 78, 190);
/* oklch */ color: oklch(51.5% 0.168 291.7);
Tailwind
colors: {
  custom: {
    50: '#9c81d2',
    500: '#6c4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ebe;
$custom-light: #9c81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ebe",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 256.071,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.16823,
    "h": 291.7
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#6C4EBE
secondary
#BFCC9C
accent
#D652B3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6C4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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