#6A4ACA#6A4ACA

#6A4ACA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.189 H 289.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6A4ACA
RGBrgb(106, 74, 202)
HSLhsl(255, 55%, 54%)
HSVhsv(255, 63%, 79%)
CMYKcmyk(47.5%, 63.4%, 0%, 20.8%)
CIE-LABlab(41.57, 44.46, -62.14)
CIE-LCHlch(41.57, 76.40, 305.58°)
OKLaboklab(51.53% 0.0633 -0.1778)
OKLCHoklch(51.53% 0.189 289.6)
XYZxyz(19.0503, 12.2252, 57.2216)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4ACA #AACA4A
analogous
#4A6ACA #6A4ACA #AA4ACA
triadic
#6A4ACA #CA6A4A #4ACA6A
tetradic
#6A4ACA #CA4A6A #AACA4A #4ACAAA
square
#6A4ACA #CA4A6A #AACA4A #4ACAAA
split-complementary
#6A4ACA #CAAA4A #6ACA4A
monochromatic
#382377 #4E31A6 #6A4ACA #9179D8 #B8A9E6

Accessibility & contrast

On white

6.10
#6A4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6A4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4ACA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4ACA#FFFFFF#000000##FFFFFF
##6A4ACA1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#4B6883
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a4aca;
/* rgb */ color: rgb(106, 74, 202);
/* oklch */ color: oklch(51.5% 0.189 289.6);
Tailwind
colors: {
  custom: {
    50: '#9c7edb',
    500: '#6a4aca',
    950: '#000000',
  },
}
SCSS
$custom: #6a4aca;
$custom-light: #9c7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4aca",
  "rgb": {
    "r": 106,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 255,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.18878,
    "h": 289.6
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#6A4ACA
secondary
#C6D39D
accent
#DE4AB9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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