#6A4EAC#6A4EAC

#6A4EAC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.145 H 294.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6A4EAC
RGBrgb(106, 78, 172)
HSLhsl(258, 38%, 49%)
HSVhsv(258, 55%, 67%)
CMYKcmyk(38.4%, 54.7%, 0%, 32.5%)
CIE-LABlab(40.40, 33.64, -46.47)
CIE-LCHlch(40.40, 57.37, 305.90°)
OKLaboklab(50.01% 0.0595 -0.1318)
OKLCHoklch(50.01% 0.145 294.3)
XYZxyz(16.1127, 11.4912, 40.3908)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4EAC #90AC4E
analogous
#4E61AC #6A4EAC #994EAC
triadic
#6A4EAC #AC6A4E #4EAC6A
tetradic
#6A4EAC #AC4E61 #90AC4E #4EAC99
square
#6A4EAC #AC4E61 #90AC4E #4EAC99
split-complementary
#6A4EAC #AC994E #61AC4E
monochromatic
#362858 #503B82 #6A4EAC #8C76C1 #B0A0D4

Accessibility & contrast

On white

6.37
#6A4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6A4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4EAC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4EAC#FFFFFF#000000##FFFFFF
##6A4EAC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#2B5EAA
Tritanopia (blue-blind)
#5A6175
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a4eac;
/* rgb */ color: rgb(106, 78, 172);
/* oklch */ color: oklch(50.0% 0.145 294.3);
Tailwind
colors: {
  custom: {
    50: '#9880c5',
    500: '#6a4eac',
    950: '#000000',
  },
}
SCSS
$custom: #6a4eac;
$custom-light: #9880c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4eac",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 257.872,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.1446,
    "h": 294.3
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#6A4EAC
secondary
#B4C195
accent
#CE5AAB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6A4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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