#6D4DBE#6D4DBE

#6D4DBE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.170 H 292.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6D4DBE
RGBrgb(109, 77, 190)
HSLhsl(257, 47%, 52%)
HSVhsv(257, 59%, 75%)
CMYKcmyk(42.6%, 59.5%, 0%, 25.5%)
CIE-LABlab(41.65, 39.97, -55.02)
CIE-LCHlch(41.65, 68.00, 306.00°)
OKLaboklab(51.39% 0.0648 -0.1568)
OKLCHoklch(51.39% 0.17 292.5)
XYZxyz(18.2523, 12.2761, 50.1131)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DBE #9EBE4D
analogous
#4D66BE #6D4DBE #A54DBE
triadic
#6D4DBE #BE6D4D #4DBE6D
tetradic
#6D4DBE #BE4D66 #9EBE4D #4DBEA5
square
#6D4DBE #BE4D66 #9EBE4D #4DBEA5
split-complementary
#6D4DBE #BEA54D #66BE4D
monochromatic
#3A276A #523797 #6D4DBE #927ACE #B7A7DF

Accessibility & contrast

On white

6.08
#6D4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6D4DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DBE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DBE#FFFFFF#000000##FFFFFF
##6D4DBE1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0960BC
Tritanopia (blue-blind)
#57667E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d4dbe;
/* rgb */ color: rgb(109, 77, 190);
/* oklch */ color: oklch(51.4% 0.170 292.5);
Tailwind
colors: {
  custom: {
    50: '#9c80d2',
    500: '#6d4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #6d4dbe;
$custom-light: #9c80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4dbe",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 256.991,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.16967,
    "h": 292.5
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#6D4DBE
secondary
#BECC9B
accent
#D652B1
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6D4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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