#6D4DB1#6D4DB1

#6D4DB1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.153 H 295.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6D4DB1
RGBrgb(109, 77, 177)
HSLhsl(259, 39%, 50%)
HSVhsv(259, 56%, 69%)
CMYKcmyk(38.4%, 56.5%, 0%, 30.6%)
CIE-LABlab(40.79, 36.35, -48.78)
CIE-LCHlch(40.79, 60.83, 306.69°)
OKLaboklab(50.48% 0.0649 -0.1385)
OKLCHoklch(50.48% 0.153 295.1)
XYZxyz(16.8943, 11.7330, 42.9610)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DB1 #91B14D
analogous
#4D5FB1 #6D4DB1 #9F4DB1
triadic
#6D4DB1 #B16D4D #4DB16D
tetradic
#6D4DB1 #B14D5F #91B14D #4DB19F
square
#6D4DB1 #B14D5F #91B14D #4DB19F
split-complementary
#6D4DB1 #B19F4D #5FB14D
monochromatic
#38285C #533A86 #6D4DB1 #9077C4 #B3A2D6

Accessibility & contrast

On white

6.28
#6D4DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6D4DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DB1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DB1#FFFFFF#000000##FFFFFF
##6D4DB11.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C61B4
Deuteranopia (green-blind)
#265FAF
Tritanopia (blue-blind)
#5C6277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4db1;
/* rgb */ color: rgb(109, 77, 177);
/* oklch */ color: oklch(50.5% 0.153 295.1);
Tailwind
colors: {
  custom: {
    50: '#9b80c9',
    500: '#6d4db1',
    950: '#000000',
  },
}
SCSS
$custom: #6d4db1;
$custom-light: #9b80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4db1",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 259.2,
    "s": 39.37,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50477,
    "c": 0.15293,
    "h": 295.1
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D4DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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