#6A4CDA#6A4CDA

#6A4CDA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.1% C 0.206 H 286.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6A4CDA
RGBrgb(106, 76, 218)
HSLhsl(253, 66%, 58%)
HSVhsv(253, 65%, 85%)
CMYKcmyk(51.4%, 65.1%, 0%, 14.5%)
CIE-LABlab(43.20, 47.94, -68.68)
CIE-LCHlch(43.20, 83.76, 304.92°)
OKLaboklab(53.09% 0.0597 -0.1971)
OKLCHoklch(53.09% 0.206 286.8)
XYZxyz(21.1794, 13.2940, 67.7661)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CDA #BCDA4C
analogous
#4C75DA #6A4CDA #B14CDA
triadic
#6A4CDA #DA6A4C #4CDA6A
tetradic
#6A4CDA #DA4C75 #BCDA4C #4CDAB1
square
#6A4CDA #DA4C75 #BCDA4C #4CDAB1
split-complementary
#6A4CDA #DAB14C #75DA4C
monochromatic
#351D8E #4828C1 #6A4CDA #947FE4 #BEB1EF

Accessibility & contrast

On white

5.74
#6A4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6A4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CDA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CDA#FFFFFF#000000##FFFFFF
##6A4CDA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#3F6F8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a4cda;
/* rgb */ color: rgb(106, 76, 218);
/* oklch */ color: oklch(53.1% 0.206 286.8);
Tailwind
colors: {
  custom: {
    50: '#9e80e6',
    500: '#6a4cda',
    950: '#000000',
  },
}
SCSS
$custom: #6a4cda;
$custom-light: #9e80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4cda",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 252.676,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.20592,
    "h": 286.8
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#6A4CDA
secondary
#D1DDA4
accent
#E93FC5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6A4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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