#6C4E8A#6C4E8A

#6C4E8A is a mid, moderate violet. Relative luminance 0.105; OKLCH L 48.2% C 0.099 H 306.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6C4E8A
RGBrgb(108, 78, 138)
HSLhsl(270, 28%, 42%)
HSVhsv(270, 43%, 54%)
CMYKcmyk(21.7%, 43.5%, 0%, 45.9%)
CIE-LABlab(38.68, 25.17, -28.77)
CIE-LCHlch(38.68, 38.23, 311.19°)
OKLaboklab(48.15% 0.0583 -0.08)
OKLCHoklch(48.15% 0.099 306.1)
XYZxyz(13.4953, 10.4720, 25.3502)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4E8A #6C8A4E
analogous
#4E4E8A #6C4E8A #8A4E8A
triadic
#6C4E8A #8A6C4E #4E8A6C
tetradic
#6C4E8A #8A4E4E #6C8A4E #4E8A8A
square
#6C4E8A #8A4E4E #6C8A4E #4E8A8A
split-complementary
#6C4E8A #8A8A4E #4E8A4E
monochromatic
#2F223C #4D3863 #6C4E8A #8B6AAB #A991C1

Accessibility & contrast

On white

6.79
#6C4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6C4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4E8A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4E8A#FFFFFF#000000##FFFFFF
##6C4E8A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#475B88
Tritanopia (blue-blind)
#675865
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c4e8a;
/* rgb */ color: rgb(108, 78, 138);
/* oklch */ color: oklch(48.2% 0.099 306.1);
Tailwind
colors: {
  custom: {
    50: '#9780ac',
    500: '#6c4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #6c4e8a;
$custom-light: #9780ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4e8a",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 270,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48153,
    "c": 0.09902,
    "h": 306.1
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#6C4E8A
secondary
#9AAE86
accent
#C46494
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #6C4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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