#6A4ACC#6A4ACC

#6A4ACC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.191 H 289.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6A4ACC
RGBrgb(106, 74, 204)
HSLhsl(255, 56%, 55%)
HSVhsv(255, 64%, 80%)
CMYKcmyk(48%, 63.7%, 0%, 20%)
CIE-LABlab(41.72, 45.03, -63.05)
CIE-LCHlch(41.72, 77.48, 305.53°)
OKLaboklab(51.69% 0.0632 -0.1805)
OKLCHoklch(51.69% 0.191 289.3)
XYZxyz(19.2886, 12.3206, 58.4768)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4ACC #ACCC4A
analogous
#4A6BCC #6A4ACC #AB4ACC
triadic
#6A4ACC #CC6A4A #4ACC6A
tetradic
#6A4ACC #CC4A6B #ACCC4A #4ACCAB
square
#6A4ACC #CC4A6B #ACCC4A #4ACCAB
split-complementary
#6A4ACC #CCAB4A #6BCC4A
monochromatic
#382279 #4E30A9 #6A4ACC #917AD9 #B9A9E7

Accessibility & contrast

On white

6.06
#6A4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6A4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4ACC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4ACC#FFFFFF#000000##FFFFFF
##6A4ACC1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#4A6984
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a4acc;
/* rgb */ color: rgb(106, 74, 204);
/* oklch */ color: oklch(51.7% 0.191 289.3);
Tailwind
colors: {
  custom: {
    50: '#9c7edc',
    500: '#6a4acc',
    950: '#000000',
  },
}
SCSS
$custom: #6a4acc;
$custom-light: #9c7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4acc",
  "rgb": {
    "r": 106,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 254.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.19126,
    "h": 289.3
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#6A4ACC
secondary
#C7D49D
accent
#DF48BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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