#6D4BBB#6D4BBB

#6D4BBB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.169 H 293.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6D4BBB
RGBrgb(109, 75, 187)
HSLhsl(258, 45%, 51%)
HSVhsv(258, 60%, 73%)
CMYKcmyk(41.7%, 59.9%, 0%, 26.7%)
CIE-LABlab(41.01, 40.28, -54.30)
CIE-LCHlch(41.01, 67.61, 306.57°)
OKLaboklab(50.85% 0.0672 -0.1547)
OKLCHoklch(50.85% 0.169 293.5)
XYZxyz(17.7900, 11.8708, 48.3580)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4BBB #99BB4B
analogous
#4B61BB #6D4BBB #A54BBB
triadic
#6D4BBB #BB6D4B #4BBB6D
tetradic
#6D4BBB #BB4B61 #99BB4B #4BBBA5
square
#6D4BBB #BB4B61 #99BB4B #4BBBA5
split-complementary
#6D4BBB #BBA54B #61BB4B
monochromatic
#392665 #533792 #6D4BBB #9177CC #B5A4DD

Accessibility & contrast

On white

6.22
#6D4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6D4BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4BBB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4BBB#FFFFFF#000000##FFFFFF
##6D4BBB1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#58647C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d4bbb;
/* rgb */ color: rgb(109, 75, 187);
/* oklch */ color: oklch(50.9% 0.169 293.5);
Tailwind
colors: {
  custom: {
    50: '#9c7fd0',
    500: '#6d4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #6d4bbb;
$custom-light: #9c7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4bbb",
  "rgb": {
    "r": 109,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 258.214,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.16868,
    "h": 293.5
  },
  "luminance": 0.11871
}

Semantic roles & 50–950 ramp

primary
#6D4BBB
secondary
#BBCA98
accent
#D553AD
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6D4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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