#6D4DCB#6D4DCB

#6D4DCB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.186 H 290.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6D4DCB
RGBrgb(109, 77, 203)
HSLhsl(255, 55%, 55%)
HSVhsv(255, 62%, 80%)
CMYKcmyk(46.3%, 62.1%, 0%, 20.4%)
CIE-LABlab(42.57, 43.64, -61.09)
CIE-LCHlch(42.57, 75.07, 305.54°)
OKLaboklab(52.35% 0.0641 -0.1747)
OKLCHoklch(52.35% 0.186 290.2)
XYZxyz(19.7370, 12.8700, 57.9326)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DCB #ABCB4D
analogous
#4D6CCB #6D4DCB #AC4DCB
triadic
#6D4DCB #CB6D4D #4DCB6D
tetradic
#6D4DCB #CB4D6C #ABCB4D #4DCBAC
square
#6D4DCB #CB4D6C #ABCB4D #4DCBAC
split-complementary
#6D4DCB #CBAC4D #6CCB4D
monochromatic
#3A247A #5031A9 #6D4DCB #947CD9 #BBACE7

Accessibility & contrast

On white

5.88
#6D4DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D4DCB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DCB#FFFFFF#000000##FFFFFF
##6D4DCB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#506A85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6d4dcb;
/* rgb */ color: rgb(109, 77, 203);
/* oklch */ color: oklch(52.3% 0.186 290.2);
Tailwind
colors: {
  custom: {
    50: '#9e80dc',
    500: '#6d4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #6d4dcb;
$custom-light: #9e80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4dcb",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 255.238,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.18605,
    "h": 290.2
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#6D4DCB
secondary
#C7D49F
accent
#DE4AB8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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