#6D4DCD#6D4DCD

#6D4DCD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.189 H 289.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6D4DCD
RGBrgb(109, 77, 205)
HSLhsl(255, 56%, 55%)
HSVhsv(255, 62%, 80%)
CMYKcmyk(46.8%, 62.4%, 0%, 19.6%)
CIE-LABlab(42.71, 44.21, -62.01)
CIE-LCHlch(42.71, 76.15, 305.49°)
OKLaboklab(52.5% 0.064 -0.1774)
OKLCHoklch(52.5% 0.189 289.8)
XYZxyz(19.9769, 12.9660, 59.1959)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DCD #ADCD4D
analogous
#4D6DCD #6D4DCD #AD4DCD
triadic
#6D4DCD #CD6D4D #4DCD6D
tetradic
#6D4DCD #CD4D6D #ADCD4D #4DCDAD
square
#6D4DCD #CD4D6D #ADCD4D #4DCDAD
split-complementary
#6D4DCD #CDAD4D #6DCD4D
monochromatic
#39237D #4F30AC #6D4DCD #947DDA #BBADE8

Accessibility & contrast

On white

5.84
#6D4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6D4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DCD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DCD#FFFFFF#000000##FFFFFF
##6D4DCD1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#4E6B86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d4dcd;
/* rgb */ color: rgb(109, 77, 205);
/* oklch */ color: oklch(52.5% 0.189 289.8);
Tailwind
colors: {
  custom: {
    50: '#9e80dd',
    500: '#6d4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #6d4dcd;
$custom-light: #9e80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4dcd",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 255,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.18854,
    "h": 289.8
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#6D4DCD
secondary
#C8D6A0
accent
#DF48BA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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