#6D4CD1#6D4CD1

#6D4CD1 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.195 H 289.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6D4CD1
RGBrgb(109, 76, 209)
HSLhsl(255, 59%, 56%)
HSVhsv(255, 64%, 82%)
CMYKcmyk(47.8%, 63.6%, 0%, 18%)
CIE-LABlab(42.80, 45.91, -64.17)
CIE-LCHlch(42.80, 78.90, 305.58°)
OKLaboklab(52.65% 0.0647 -0.1837)
OKLCHoklch(52.65% 0.195 289.4)
XYZxyz(20.3964, 13.0227, 61.7482)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4CD1 #B0D14C
analogous
#4C6DD1 #6D4CD1 #AF4CD1
triadic
#6D4CD1 #D16D4C #4CD16D
tetradic
#6D4CD1 #D14C6D #B0D14C #4CD1AF
square
#6D4CD1 #D14C6D #B0D14C #4CD1AF
split-complementary
#6D4CD1 #D1AF4C #6DD14C
monochromatic
#392181 #4F2EB2 #6D4CD1 #957DDE #BCADEA

Accessibility & contrast

On white

5.83
#6D4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6D4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4CD1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4CD1#FFFFFF#000000##FFFFFF
##6D4CD11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#4C6C88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d4cd1;
/* rgb */ color: rgb(109, 76, 209);
/* oklch */ color: oklch(52.7% 0.195 289.4);
Tailwind
colors: {
  custom: {
    50: '#9f80e0',
    500: '#6d4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #6d4cd1;
$custom-light: #9f80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4cd1",
  "rgb": {
    "r": 109,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 254.887,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.19477,
    "h": 289.4
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#6D4CD1
secondary
#CAD8A1
accent
#E246BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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