#6C4EAA#6C4EAA

#6C4EAA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.142 H 295.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6C4EAA
RGBrgb(108, 78, 170)
HSLhsl(260, 37%, 49%)
HSVhsv(260, 54%, 67%)
CMYKcmyk(36.5%, 54.1%, 0%, 33.3%)
CIE-LABlab(40.47, 33.59, -45.15)
CIE-LCHlch(40.47, 56.27, 306.65°)
OKLaboklab(50.08% 0.0621 -0.1278)
OKLCHoklch(50.08% 0.142 295.9)
XYZxyz(16.1626, 11.5389, 39.3981)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4EAA #8CAA4E
analogous
#4E5EAA #6C4EAA #9A4EAA
triadic
#6C4EAA #AA6C4E #4EAA6C
tetradic
#6C4EAA #AA4E5E #8CAA4E #4EAA9A
square
#6C4EAA #AA4E5E #8CAA4E #4EAA9A
split-complementary
#6C4EAA #AA9A4E #5EAA4E
monochromatic
#372856 #513B80 #6C4EAA #8E75C0 #B09FD3

Accessibility & contrast

On white

6.35
#6C4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6C4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4EAA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4EAA#FFFFFF#000000##FFFFFF
##6C4EAA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#5D6174
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6c4eaa;
/* rgb */ color: rgb(108, 78, 170);
/* oklch */ color: oklch(50.1% 0.142 295.9);
Tailwind
colors: {
  custom: {
    50: '#9a80c4',
    500: '#6c4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6c4eaa;
$custom-light: #9a80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4eaa",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 259.565,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.14211,
    "h": 295.9
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#6C4EAA
secondary
#B2C094
accent
#CD5BA8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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