#6A4EAE#6A4EAE

#6A4EAE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.1% C 0.147 H 293.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6A4EAE
RGBrgb(106, 78, 174)
HSLhsl(258, 38%, 49%)
HSVhsv(258, 55%, 68%)
CMYKcmyk(39.1%, 55.2%, 0%, 31.8%)
CIE-LABlab(40.52, 34.20, -47.45)
CIE-LCHlch(40.52, 58.49, 305.78°)
OKLaboklab(50.15% 0.0596 -0.1347)
OKLCHoklch(50.15% 0.147 293.9)
XYZxyz(16.3062, 11.5686, 41.4100)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4EAE #92AE4E
analogous
#4E62AE #6A4EAE #9A4EAE
triadic
#6A4EAE #AE6A4E #4EAE6A
tetradic
#6A4EAE #AE4E62 #92AE4E #4EAE9A
square
#6A4EAE #AE4E62 #92AE4E #4EAE9A
split-complementary
#6A4EAE #AE9A4E #62AE4E
monochromatic
#372859 #503B84 #6A4EAE #8D77C2 #B0A1D5

Accessibility & contrast

On white

6.34
#6A4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6A4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4EAE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4EAE#FFFFFF#000000##FFFFFF
##6A4EAE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B1
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#596276
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a4eae;
/* rgb */ color: rgb(106, 78, 174);
/* oklch */ color: oklch(50.1% 0.147 293.9);
Tailwind
colors: {
  custom: {
    50: '#9980c7',
    500: '#6a4eae',
    950: '#000000',
  },
}
SCSS
$custom: #6a4eae;
$custom-light: #9980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4eae",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 257.5,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.14726,
    "h": 293.9
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#6A4EAE
secondary
#B5C296
accent
#CE5AAC
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6A4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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