#6E4792#6E4792

#6E4792 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.6% C 0.123 H 306.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6E4792
RGBrgb(110, 71, 146)
HSLhsl(271, 35%, 43%)
HSVhsv(271, 51%, 57%)
CMYKcmyk(24.7%, 51.4%, 0%, 42.7%)
CIE-LABlab(37.66, 31.97, -35.23)
CIE-LCHlch(37.66, 47.57, 312.22°)
OKLaboklab(47.58% 0.0726 -0.0987)
OKLCHoklch(47.58% 0.123 306.3)
XYZxyz(13.8709, 9.8969, 28.3681)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4792 #6B9247
analogous
#494792 #6E4792 #924790
triadic
#6E4792 #926E47 #47926E
tetradic
#6E4792 #924947 #6B9247 #479092
square
#6E4792 #924947 #6B9247 #479092
split-complementary
#6E4792 #909247 #479249
monochromatic
#301F40 #4F3369 #6E4792 #8D63B3 #AB8CC7

Accessibility & contrast

On white

7.05
#6E4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6E4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E4792
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4792#FFFFFF#000000##FFFFFF
##6E47921.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#3D5990
Tritanopia (blue-blind)
#685466
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6e4792;
/* rgb */ color: rgb(110, 71, 146);
/* oklch */ color: oklch(47.6% 0.123 306.3);
Tailwind
colors: {
  custom: {
    50: '#9a7bb2',
    500: '#6e4792',
    950: '#000000',
  },
}
SCSS
$custom: #6e4792;
$custom-light: #9a7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4792",
  "rgb": {
    "r": 110,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 271.2,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47581,
    "c": 0.12253,
    "h": 306.3
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#6E4792
secondary
#99B382
accent
#CB5D92
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6E4792

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

Preview Lab → · Contrast checker → · Palette generator →

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