#6A4CD3#6A4CD3

#6A4CD3 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.197 H 287.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6A4CD3
RGBrgb(106, 76, 211)
HSLhsl(253, 61%, 56%)
HSVhsv(253, 64%, 83%)
CMYKcmyk(49.8%, 64%, 0%, 17.3%)
CIE-LABlab(42.67, 45.92, -65.55)
CIE-LCHlch(42.67, 80.03, 305.01°)
OKLaboklab(52.54% 0.0604 -0.1879)
OKLCHoklch(52.54% 0.197 287.8)
XYZxyz(20.2827, 12.9353, 63.0434)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CD3 #B5D34C
analogous
#4C72D3 #6A4CD3 #AE4CD3
triadic
#6A4CD3 #D36A4C #4CD36A
tetradic
#6A4CD3 #D34C72 #B5D34C #4CD3AE
square
#6A4CD3 #D34C72 #B5D34C #4CD3AE
split-complementary
#6A4CD3 #D3AE4C #72D34C
monochromatic
#372084 #4B2DB5 #6A4CD3 #937DDF #BCAEEB

Accessibility & contrast

On white

5.85
#6A4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6A4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CD3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CD3#FFFFFF#000000##FFFFFF
##6A4CD31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#456D89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a4cd3;
/* rgb */ color: rgb(106, 76, 211);
/* oklch */ color: oklch(52.5% 0.197 287.8);
Tailwind
colors: {
  custom: {
    50: '#9d80e1',
    500: '#6a4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #6a4cd3;
$custom-light: #9d80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4cd3",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 253.333,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.19735,
    "h": 287.8
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#6A4CD3
secondary
#CDD9A2
accent
#E444C0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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