#6A4CD9#6A4CD9

#6A4CD9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.0% C 0.205 H 287.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6A4CD9
RGBrgb(106, 76, 217)
HSLhsl(253, 65%, 57%)
HSVhsv(253, 65%, 85%)
CMYKcmyk(51.2%, 65%, 0%, 14.9%)
CIE-LABlab(43.13, 47.66, -68.24)
CIE-LCHlch(43.13, 83.23, 304.93°)
OKLaboklab(53.01% 0.0598 -0.1958)
OKLCHoklch(53.01% 0.205 287)
XYZxyz(21.0490, 13.2418, 67.0790)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CD9 #BBD94C
analogous
#4C74D9 #6A4CD9 #B14CD9
triadic
#6A4CD9 #D96A4C #4CD96A
tetradic
#6A4CD9 #D94C74 #BBD94C #4CD9B1
square
#6A4CD9 #D94C74 #BBD94C #4CD9B1
split-complementary
#6A4CD9 #D9B14C #74D94C
monochromatic
#351E8D #4929BF #6A4CD9 #947EE4 #BEB1EE

Accessibility & contrast

On white

5.76
#6A4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6A4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CD9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CD9#FFFFFF#000000##FFFFFF
##6A4CD91.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#406F8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a4cd9;
/* rgb */ color: rgb(106, 76, 217);
/* oklch */ color: oklch(53.0% 0.205 287.0);
Tailwind
colors: {
  custom: {
    50: '#9e80e6',
    500: '#6a4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #6a4cd9;
$custom-light: #9e80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4cd9",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 252.766,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53012,
    "c": 0.2047,
    "h": 287
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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