#6D4CB2#6D4CB2

#6D4CB2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.156 H 295.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6D4CB2
RGBrgb(109, 76, 178)
HSLhsl(259, 40%, 50%)
HSVhsv(259, 57%, 70%)
CMYKcmyk(38.8%, 57.3%, 0%, 30.2%)
CIE-LABlab(40.63, 37.21, -49.63)
CIE-LCHlch(40.63, 62.03, 306.86°)
OKLaboklab(50.38% 0.0662 -0.141)
OKLCHoklch(50.38% 0.156 295.1)
XYZxyz(16.9249, 11.6341, 43.4647)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4CB2 #91B24C
analogous
#4C5EB2 #6D4CB2 #A04CB2
triadic
#6D4CB2 #B26D4C #4CB26D
tetradic
#6D4CB2 #B24C5E #91B24C #4CB2A0
square
#6D4CB2 #B24C5E #91B24C #4CB2A0
split-complementary
#6D4CB2 #B2A04C #5EB24C
monochromatic
#38275C #533A87 #6D4CB2 #9076C5 #B3A1D7

Accessibility & contrast

On white

6.31
#6D4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6D4CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4CB2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4CB2#FFFFFF#000000##FFFFFF
##6D4CB21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B5
Deuteranopia (green-blind)
#235EB0
Tritanopia (blue-blind)
#5C6277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4cb2;
/* rgb */ color: rgb(109, 76, 178);
/* oklch */ color: oklch(50.4% 0.156 295.1);
Tailwind
colors: {
  custom: {
    50: '#9b7fca',
    500: '#6d4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #6d4cb2;
$custom-light: #9b7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4cb2",
  "rgb": {
    "r": 109,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 259.412,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.15572,
    "h": 295.1
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#6D4CB2
secondary
#B5C496
accent
#D058A9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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