#6D4792#6D4792

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

Color values

HEX#6D4792
RGBrgb(109, 71, 146)
HSLhsl(270, 35%, 43%)
HSVhsv(270, 51%, 57%)
CMYKcmyk(25.3%, 51.4%, 0%, 42.7%)
CIE-LABlab(37.54, 31.68, -35.42)
CIE-LCHlch(37.54, 47.52, 311.81°)
OKLaboklab(47.47% 0.0712 -0.0993)
OKLCHoklch(47.47% 0.122 305.6)
XYZxyz(13.7471, 9.8331, 28.3623)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4792 #6C9247
analogous
#484792 #6D4792 #924791
triadic
#6D4792 #926D47 #47926D
tetradic
#6D4792 #924847 #6C9247 #479192
square
#6D4792 #924847 #6C9247 #479192
split-complementary
#6D4792 #919247 #479248
monochromatic
#301F40 #4E3369 #6D4792 #8C63B3 #AA8CC7

Accessibility & contrast

On white

7.08
#6D4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6D4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D4792
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4792#FFFFFF#000000##FFFFFF
##6D47921.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d4792;
/* rgb */ color: rgb(109, 71, 146);
/* oklch */ color: oklch(47.5% 0.122 305.6);
Tailwind
colors: {
  custom: {
    50: '#997bb2',
    500: '#6d4792',
    950: '#000000',
  },
}
SCSS
$custom: #6d4792;
$custom-light: #997bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4792",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 270.4,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.12222,
    "h": 305.6
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#6D4792
secondary
#9AB382
accent
#CB5D93
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6D4792

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

Preview Lab → · Contrast checker → · Palette generator →

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