#6C4792#6C4792

#6C4792 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.4% C 0.122 H 305.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6C4792
RGBrgb(108, 71, 146)
HSLhsl(270, 35%, 43%)
HSVhsv(270, 51%, 57%)
CMYKcmyk(26%, 51.4%, 0%, 42.7%)
CIE-LABlab(37.43, 31.39, -35.61)
CIE-LCHlch(37.43, 47.47, 311.40°)
OKLaboklab(47.36% 0.0699 -0.0999)
OKLCHoklch(47.36% 0.122 305)
XYZxyz(13.6248, 9.7700, 28.3566)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4792 #6D9247
analogous
#474892 #6C4792 #914792
triadic
#6C4792 #926C47 #47926C
tetradic
#6C4792 #924748 #6D9247 #479291
square
#6C4792 #924748 #6D9247 #479291
split-complementary
#6C4792 #929147 #489247
monochromatic
#2F1F40 #4E3369 #6C4792 #8B63B3 #A98CC7

Accessibility & contrast

On white

7.11
#6C4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6C4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C4792
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4792#FFFFFF#000000##FFFFFF
##6C47921.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#3B5890
Tritanopia (blue-blind)
#665466
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c4792;
/* rgb */ color: rgb(108, 71, 146);
/* oklch */ color: oklch(47.4% 0.122 305.0);
Tailwind
colors: {
  custom: {
    50: '#987bb2',
    500: '#6c4792',
    950: '#000000',
  },
}
SCSS
$custom: #6c4792;
$custom-light: #987bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4792",
  "rgb": {
    "r": 108,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 269.6,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.12193,
    "h": 305
  },
  "luminance": 0.0977
}

Semantic roles & 50–950 ramp

primary
#6C4792
secondary
#9BB382
accent
#CB5D95
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6C4792

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

Preview Lab → · Contrast checker → · Palette generator →

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