#6D4ABC#6D4ABC

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

Color values

HEX#6D4ABC
RGBrgb(109, 74, 188)
HSLhsl(258, 46%, 51%)
HSVhsv(258, 61%, 74%)
CMYKcmyk(42%, 60.6%, 0%, 26.3%)
CIE-LABlab(40.86, 41.13, -55.12)
CIE-LCHlch(40.86, 68.77, 306.73°)
OKLaboklab(50.77% 0.0683 -0.1571)
OKLCHoklch(50.77% 0.171 293.5)
XYZxyz(17.8301, 11.7791, 48.9014)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4ABC #99BC4A
analogous
#4A60BC #6D4ABC #A64ABC
triadic
#6D4ABC #BC6D4A #4ABC6D
tetradic
#6D4ABC #BC4A60 #99BC4A #4ABCA6
square
#6D4ABC #BC4A60 #99BC4A #4ABCA6
split-complementary
#6D4ABC #BCA64A #60BC4A
monochromatic
#392666 #533693 #6D4ABC #9177CD #B5A3DD

Accessibility & contrast

On white

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

On black

3.36
#6D4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6D4ABC#FFFFFF#000000##FFFFFF
##6D4ABC1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#025EBA
Tritanopia (blue-blind)
#58637C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4abc;
/* rgb */ color: rgb(109, 74, 188);
/* oklch */ color: oklch(50.8% 0.171 293.5);
Tailwind
colors: {
  custom: {
    50: '#9c7ed1',
    500: '#6d4abc',
    950: '#000000',
  },
}
SCSS
$custom: #6d4abc;
$custom-light: #9c7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4abc",
  "rgb": {
    "r": 109,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 258.421,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50766,
    "c": 0.17134,
    "h": 293.5
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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