#6D4DCC#6D4DCC

#6D4DCC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.187 H 290.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6D4DCC
RGBrgb(109, 77, 204)
HSLhsl(255, 55%, 55%)
HSVhsv(255, 62%, 80%)
CMYKcmyk(46.6%, 62.3%, 0%, 20%)
CIE-LABlab(42.64, 43.93, -61.55)
CIE-LCHlch(42.64, 75.61, 305.52°)
OKLaboklab(52.42% 0.064 -0.176)
OKLCHoklch(52.42% 0.187 290)
XYZxyz(19.8565, 12.9178, 58.5622)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DCC #ACCC4D
analogous
#4D6CCC #6D4DCC #AC4DCC
triadic
#6D4DCC #CC6D4D #4DCC6D
tetradic
#6D4DCC #CC4D6C #ACCC4D #4DCCAC
square
#6D4DCC #CC4D6C #ACCC4D #4DCCAC
split-complementary
#6D4DCC #CCAC4D #6CCC4D
monochromatic
#39237B #5031AB #6D4DCC #947DDA #BBACE7

Accessibility & contrast

On white

5.86
#6D4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6D4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DCC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DCC#FFFFFF#000000##FFFFFF
##6D4DCC1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#4F6B85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d4dcc;
/* rgb */ color: rgb(109, 77, 204);
/* oklch */ color: oklch(52.4% 0.187 290.0);
Tailwind
colors: {
  custom: {
    50: '#9e80dc',
    500: '#6d4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #6d4dcc;
$custom-light: #9e80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4dcc",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 255.118,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.1873,
    "h": 290
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#6D4DCC
secondary
#C8D5A0
accent
#DF49B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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