#6A4DCE#6A4DCE

#6A4DCE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.190 H 288.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6A4DCE
RGBrgb(106, 77, 206)
HSLhsl(253, 57%, 55%)
HSVhsv(253, 63%, 81%)
CMYKcmyk(48.5%, 62.6%, 0%, 19.2%)
CIE-LABlab(42.50, 43.91, -62.94)
CIE-LCHlch(42.50, 76.74, 304.91°)
OKLaboklab(52.3% 0.0599 -0.1802)
OKLCHoklch(52.3% 0.19 288.4)
XYZxyz(19.7351, 12.8273, 59.8166)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4DCE #B1CE4D
analogous
#4D71CE #6A4DCE #AA4DCE
triadic
#6A4DCE #CE6A4D #4DCE6A
tetradic
#6A4DCE #CE4D71 #B1CE4D #4DCEAA
square
#6A4DCE #CE4D71 #B1CE4D #4DCEAA
split-complementary
#6A4DCE #CEAA4D #71CE4D
monochromatic
#37237E #4C30AE #6A4DCE #927DDB #BAADE8

Accessibility & contrast

On white

5.89
#6A4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A4DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4DCE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4DCE#FFFFFF#000000##FFFFFF
##6A4DCE1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#486C86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a4dce;
/* rgb */ color: rgb(106, 77, 206);
/* oklch */ color: oklch(52.3% 0.190 288.4);
Tailwind
colors: {
  custom: {
    50: '#9c80de',
    500: '#6a4dce',
    950: '#000000',
  },
}
SCSS
$custom: #6a4dce;
$custom-light: #9c80de;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4dce",
  "rgb": {
    "r": 106,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 253.488,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.18988,
    "h": 288.4
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#6A4DCE
secondary
#CAD6A1
accent
#E048BE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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