#6A4E8A#6A4E8A

#6A4E8A is a mid, moderate violet. Relative luminance 0.103; OKLCH L 47.9% C 0.098 H 304.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6A4E8A
RGBrgb(106, 78, 138)
HSLhsl(268, 28%, 42%)
HSVhsv(268, 43%, 54%)
CMYKcmyk(23.2%, 43.5%, 0%, 45.9%)
CIE-LABlab(38.46, 24.55, -29.12)
CIE-LCHlch(38.46, 38.09, 310.13°)
OKLaboklab(47.94% 0.0557 -0.0811)
OKLCHoklch(47.94% 0.098 304.5)
XYZxyz(13.2547, 10.3480, 25.3389)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4E8A #6E8A4E
analogous
#4E508A #6A4E8A #884E8A
triadic
#6A4E8A #8A6A4E #4E8A6A
tetradic
#6A4E8A #8A4E50 #6E8A4E #4E8A88
square
#6A4E8A #8A4E50 #6E8A4E #4E8A88
split-complementary
#6A4E8A #8A884E #508A4E
monochromatic
#2E223C #4C3863 #6A4E8A #886AAB #A891C1

Accessibility & contrast

On white

6.84
#6A4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6A4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4E8A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4E8A#FFFFFF#000000##FFFFFF
##6A4E8A1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8C
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#655865
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a4e8a;
/* rgb */ color: rgb(106, 78, 138);
/* oklch */ color: oklch(47.9% 0.098 304.5);
Tailwind
colors: {
  custom: {
    50: '#9680ac',
    500: '#6a4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #6a4e8a;
$custom-light: #9680ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4e8a",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 268,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4794,
    "c": 0.0984,
    "h": 304.5
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#6A4E8A
secondary
#9BAE86
accent
#C46497
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #6A4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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