#6B4792#6B4792

#6B4792 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.2% C 0.122 H 304.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6B4792
RGBrgb(107, 71, 146)
HSLhsl(269, 35%, 43%)
HSVhsv(269, 51%, 57%)
CMYKcmyk(26.7%, 51.4%, 0%, 42.7%)
CIE-LABlab(37.31, 31.11, -35.79)
CIE-LCHlch(37.31, 47.42, 310.99°)
OKLaboklab(47.25% 0.0686 -0.1005)
OKLCHoklch(47.25% 0.122 304.3)
XYZxyz(13.5038, 9.7077, 28.3509)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4792 #6E9247
analogous
#474992 #6B4792 #904792
triadic
#6B4792 #926B47 #47926B
tetradic
#6B4792 #924749 #6E9247 #479290
square
#6B4792 #924749 #6E9247 #479290
split-complementary
#6B4792 #929047 #499247
monochromatic
#2F1F40 #4D3369 #6B4792 #8963B3 #A98CC7

Accessibility & contrast

On white

7.14
#6B4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6B4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B4792
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4792#FFFFFF#000000##FFFFFF
##6B47921.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#3A5890
Tritanopia (blue-blind)
#645466
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b4792;
/* rgb */ color: rgb(107, 71, 146);
/* oklch */ color: oklch(47.2% 0.122 304.3);
Tailwind
colors: {
  custom: {
    50: '#977bb2',
    500: '#6b4792',
    950: '#000000',
  },
}
SCSS
$custom: #6b4792;
$custom-light: #977bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4792",
  "rgb": {
    "r": 107,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 268.8,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.12165,
    "h": 304.3
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B4792

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

Preview Lab → · Contrast checker → · Palette generator →

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