#6D4CB3#6D4CB3

#6D4CB3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.157 H 294.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6D4CB3
RGBrgb(109, 76, 179)
HSLhsl(259, 40%, 50%)
HSVhsv(259, 58%, 70%)
CMYKcmyk(39.1%, 57.5%, 0%, 29.8%)
CIE-LABlab(40.69, 37.48, -50.11)
CIE-LCHlch(40.69, 62.58, 306.80°)
OKLaboklab(50.45% 0.0662 -0.1424)
OKLCHoklch(50.45% 0.157 294.9)
XYZxyz(17.0257, 11.6744, 43.9954)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4CB3 #92B34C
analogous
#4C5FB3 #6D4CB3 #A04CB3
triadic
#6D4CB3 #B36D4C #4CB36D
tetradic
#6D4CB3 #B34C5F #92B34C #4CB3A0
square
#6D4CB3 #B34C5F #92B34C #4CB3A0
split-complementary
#6D4CB3 #B3A04C #5FB34C
monochromatic
#39285D #533A88 #6D4CB3 #9077C5 #B3A2D7

Accessibility & contrast

On white

6.30
#6D4CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6D4CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4CB3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4CB3#FFFFFF#000000##FFFFFF
##6D4CB31.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B6
Deuteranopia (green-blind)
#225EB1
Tritanopia (blue-blind)
#5C6278
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4cb3;
/* rgb */ color: rgb(109, 76, 179);
/* oklch */ color: oklch(50.4% 0.157 294.9);
Tailwind
colors: {
  custom: {
    50: '#9b7fca',
    500: '#6d4cb3',
    950: '#000000',
  },
}
SCSS
$custom: #6d4cb3;
$custom-light: #9b7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4cb3",
  "rgb": {
    "r": 109,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 259.223,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.157,
    "h": 294.9
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#6D4CB3
secondary
#B6C496
accent
#D058AA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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