#6A4CD1#6A4CD1

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

Color values

HEX#6A4CD1
RGBrgb(106, 76, 209)
HSLhsl(254, 59%, 56%)
HSVhsv(254, 64%, 82%)
CMYKcmyk(49.3%, 63.6%, 0%, 18%)
CIE-LABlab(42.51, 45.34, -64.64)
CIE-LCHlch(42.51, 78.96, 305.05°)
OKLaboklab(52.38% 0.0606 -0.1852)
OKLCHoklch(52.38% 0.195 288.1)
XYZxyz(20.0336, 12.8356, 61.7312)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CD1 #B3D14C
analogous
#4C70D1 #6A4CD1 #AC4CD1
triadic
#6A4CD1 #D16A4C #4CD16A
tetradic
#6A4CD1 #D14C70 #B3D14C #4CD1AC
square
#6A4CD1 #D14C70 #B3D14C #4CD1AC
split-complementary
#6A4CD1 #D1AC4C #70D14C
monochromatic
#372181 #4C2EB2 #6A4CD1 #937DDE #BBADEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A4CD1#FFFFFF#000000##FFFFFF
##6A4CD11.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)
#0067D5
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#466C88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a4cd1;
/* rgb */ color: rgb(106, 76, 209);
/* oklch */ color: oklch(52.4% 0.195 288.1);
Tailwind
colors: {
  custom: {
    50: '#9d80e0',
    500: '#6a4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #6a4cd1;
$custom-light: #9d80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4cd1",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 253.534,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.19488,
    "h": 288.1
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#6A4CD1
secondary
#CCD8A1
accent
#E246BF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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