#6E4A97#6E4A97

#6E4A97 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.4% C 0.124 H 303.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6E4A97
RGBrgb(110, 74, 151)
HSLhsl(268, 34%, 44%)
HSVhsv(268, 51%, 59%)
CMYKcmyk(27.2%, 51%, 0%, 40.8%)
CIE-LABlab(38.63, 31.46, -36.70)
CIE-LCHlch(38.63, 48.34, 310.60°)
OKLaboklab(48.4% 0.0688 -0.1031)
OKLCHoklch(48.4% 0.124 303.7)
XYZxyz(14.4639, 10.4470, 30.5266)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4A97 #73974A
analogous
#4A4D97 #6E4A97 #954A97
triadic
#6E4A97 #976E4A #4A976E
tetradic
#6E4A97 #974A4D #73974A #4A9795
square
#6E4A97 #974A4D #73974A #4A9795
split-complementary
#6E4A97 #97954A #4D974A
monochromatic
#322245 #50366E #6E4A97 #8D69B5 #AC92CA

Accessibility & contrast

On white

6.80
#6E4A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6E4A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4A97
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4A97#FFFFFF#000000##FFFFFF
##6E4A971.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#675869
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6e4a97;
/* rgb */ color: rgb(110, 74, 151);
/* oklch */ color: oklch(48.4% 0.124 303.7);
Tailwind
colors: {
  custom: {
    50: '#9a7db6',
    500: '#6e4a97',
    950: '#000000',
  },
}
SCSS
$custom: #6e4a97;
$custom-light: #9a7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4a97",
  "rgb": {
    "r": 110,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 268.052,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48398,
    "c": 0.12389,
    "h": 303.7
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#6E4A97
secondary
#A0B687
accent
#CA5D97
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6E4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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