#6A4EAA#6A4EAA

#6A4EAA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.9% C 0.142 H 294.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6A4EAA
RGBrgb(106, 78, 170)
HSLhsl(258, 37%, 49%)
HSVhsv(258, 54%, 67%)
CMYKcmyk(37.6%, 54.1%, 0%, 33.3%)
CIE-LABlab(40.27, 33.08, -45.49)
CIE-LCHlch(40.27, 56.24, 306.03°)
OKLaboklab(49.88% 0.0594 -0.1289)
OKLCHoklch(49.88% 0.142 294.8)
XYZxyz(15.9221, 11.4149, 39.3868)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4EAA #8EAA4E
analogous
#4E60AA #6A4EAA #984EAA
triadic
#6A4EAA #AA6A4E #4EAA6A
tetradic
#6A4EAA #AA4E60 #8EAA4E #4EAA98
square
#6A4EAA #AA4E60 #8EAA4E #4EAA98
split-complementary
#6A4EAA #AA984E #60AA4E
monochromatic
#362856 #503B80 #6A4EAA #8C75C0 #AF9FD3

Accessibility & contrast

On white

6.40
#6A4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6A4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4EAA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4EAA#FFFFFF#000000##FFFFFF
##6A4EAA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#2E5DA8
Tritanopia (blue-blind)
#5A6174
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a4eaa;
/* rgb */ color: rgb(106, 78, 170);
/* oklch */ color: oklch(49.9% 0.142 294.8);
Tailwind
colors: {
  custom: {
    50: '#9880c4',
    500: '#6a4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6a4eaa;
$custom-light: #9880c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4eaa",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 258.261,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.14193,
    "h": 294.8
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#6A4EAA
secondary
#B3C094
accent
#CD5BAA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6A4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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