#6A4792#6A4792

#6A4792 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.1% C 0.121 H 303.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6A4792
RGBrgb(106, 71, 146)
HSLhsl(268, 35%, 43%)
HSVhsv(268, 51%, 57%)
CMYKcmyk(27.4%, 51.4%, 0%, 42.7%)
CIE-LABlab(37.20, 30.82, -35.98)
CIE-LCHlch(37.20, 47.38, 310.58°)
OKLaboklab(47.14% 0.0673 -0.101)
OKLCHoklch(47.14% 0.121 303.6)
XYZxyz(13.3843, 9.6460, 28.3453)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4792 #6F9247
analogous
#474A92 #6A4792 #8F4792
triadic
#6A4792 #926A47 #47926A
tetradic
#6A4792 #92474A #6F9247 #47928F
square
#6A4792 #92474A #6F9247 #47928F
split-complementary
#6A4792 #928F47 #4A9247
monochromatic
#2E1F40 #4C3369 #6A4792 #8863B3 #A88CC7

Accessibility & contrast

On white

7.17
#6A4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6A4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A4792
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4792#FFFFFF#000000##FFFFFF
##6A47921.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a4792;
/* rgb */ color: rgb(106, 71, 146);
/* oklch */ color: oklch(47.1% 0.121 303.6);
Tailwind
colors: {
  custom: {
    50: '#977bb2',
    500: '#6a4792',
    950: '#000000',
  },
}
SCSS
$custom: #6a4792;
$custom-light: #977bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4792",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 268,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.12138,
    "h": 303.6
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#6A4792
secondary
#9CB382
accent
#CB5D98
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6A4792

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

Preview Lab → · Contrast checker → · Palette generator →

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