#6D519D#6D519D

#6D519D is a mid, moderate violet. Relative luminance 0.116; OKLCH L 49.9% C 0.120 H 299.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6D519D
RGBrgb(109, 81, 157)
HSLhsl(262, 32%, 47%)
HSVhsv(262, 48%, 62%)
CMYKcmyk(30.6%, 48.4%, 0%, 38.4%)
CIE-LABlab(40.52, 28.55, -37.32)
CIE-LCHlch(40.52, 46.98, 307.42°)
OKLaboklab(49.89% 0.0582 -0.1049)
OKLCHoklch(49.89% 0.12 299)
XYZxyz(15.3335, 11.5703, 33.3172)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D519D #819D51
analogous
#515B9D #6D519D #93519D
triadic
#6D519D #9D6D51 #519D6D
tetradic
#6D519D #9D515B #819D51 #519D93
square
#6D519D #9D515B #819D51 #519D93
split-complementary
#6D519D #9D9351 #5B9D51
monochromatic
#35274C #513C75 #6D519D #8D74B7 #AE9CCC

Accessibility & contrast

On white

6.34
#6D519D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6D519D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D519D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D519D#FFFFFF#000000##FFFFFF
##6D519D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395FA0
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#635F6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d519d;
/* rgb */ color: rgb(109, 81, 157);
/* oklch */ color: oklch(49.9% 0.120 299.0);
Tailwind
colors: {
  custom: {
    50: '#9982ba',
    500: '#6d519d',
    950: '#000000',
  },
}
SCSS
$custom: #6d519d;
$custom-light: #9982ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d519d",
  "rgb": {
    "r": 109,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 262.105,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49894,
    "c": 0.11992,
    "h": 299
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#6D519D
secondary
#AAB991
accent
#C860A2
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6D519D

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

Preview Lab → · Contrast checker → · Palette generator →

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