#6D4ABB#6D4ABB

#6D4ABB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.170 H 293.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6D4ABB
RGBrgb(109, 74, 187)
HSLhsl(259, 45%, 51%)
HSVhsv(259, 60%, 73%)
CMYKcmyk(41.7%, 60.4%, 0%, 26.7%)
CIE-LABlab(40.79, 40.85, -54.65)
CIE-LCHlch(40.79, 68.23, 306.78°)
OKLaboklab(50.69% 0.0684 -0.1557)
OKLCHoklch(50.69% 0.17 293.7)
XYZxyz(17.7227, 11.7362, 48.3356)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4ABB #98BB4A
analogous
#4A5FBB #6D4ABB #A54ABB
triadic
#6D4ABB #BB6D4A #4ABB6D
tetradic
#6D4ABB #BB4A5F #98BB4A #4ABBA5
square
#6D4ABB #BB4A5F #98BB4A #4ABBA5
split-complementary
#6D4ABB #BBA54A #5FBB4A
monochromatic
#392665 #533791 #6D4ABB #9176CC #B5A3DC

Accessibility & contrast

On white

6.27
#6D4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D4ABB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4ABB#FFFFFF#000000##FFFFFF
##6D4ABB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#065EB9
Tritanopia (blue-blind)
#58637B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4abb;
/* rgb */ color: rgb(109, 74, 187);
/* oklch */ color: oklch(50.7% 0.170 293.7);
Tailwind
colors: {
  custom: {
    50: '#9c7ed0',
    500: '#6d4abb',
    950: '#000000',
  },
}
SCSS
$custom: #6d4abb;
$custom-light: #9c7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4abb",
  "rgb": {
    "r": 109,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 258.584,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.17009,
    "h": 293.7
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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