#6D4DB2#6D4DB2

#6D4DB2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.154 H 294.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6D4DB2
RGBrgb(109, 77, 178)
HSLhsl(259, 40%, 50%)
HSVhsv(259, 57%, 70%)
CMYKcmyk(38.8%, 56.7%, 0%, 30.2%)
CIE-LABlab(40.85, 36.63, -49.27)
CIE-LCHlch(40.85, 61.39, 306.63°)
OKLaboklab(50.54% 0.0649 -0.1399)
OKLCHoklch(50.54% 0.154 294.9)
XYZxyz(16.9943, 11.7730, 43.4879)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DB2 #92B24D
analogous
#4D5FB2 #6D4DB2 #A04DB2
triadic
#6D4DB2 #B26D4D #4DB26D
tetradic
#6D4DB2 #B24D5F #92B24D #4DB2A0
square
#6D4DB2 #B24D5F #92B24D #4DB2A0
split-complementary
#6D4DB2 #B2A04D #5FB24D
monochromatic
#39285D #533B87 #6D4DB2 #9078C4 #B3A2D7

Accessibility & contrast

On white

6.26
#6D4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D4DB2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DB2#FFFFFF#000000##FFFFFF
##6D4DB21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#255FB0
Tritanopia (blue-blind)
#5C6278
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4db2;
/* rgb */ color: rgb(109, 77, 178);
/* oklch */ color: oklch(50.5% 0.154 294.9);
Tailwind
colors: {
  custom: {
    50: '#9b80ca',
    500: '#6d4db2',
    950: '#000000',
  },
}
SCSS
$custom: #6d4db2;
$custom-light: #9b80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4db2",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 259.01,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.15423,
    "h": 294.9
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#6D4DB2
secondary
#B6C497
accent
#CF58AA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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