#6D4DAC#6D4DAC

#6D4DAC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.146 H 296.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6D4DAC
RGBrgb(109, 77, 172)
HSLhsl(260, 38%, 49%)
HSVhsv(260, 55%, 67%)
CMYKcmyk(36.6%, 55.2%, 0%, 32.5%)
CIE-LABlab(40.47, 34.98, -46.33)
CIE-LCHlch(40.47, 58.05, 307.05°)
OKLaboklab(50.14% 0.0648 -0.1313)
OKLCHoklch(50.14% 0.146 296.3)
XYZxyz(16.4051, 11.5373, 40.3843)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DAC #8CAC4D
analogous
#4D5CAC #6D4DAC #9D4DAC
triadic
#6D4DAC #AC6D4D #4DAC6D
tetradic
#6D4DAC #AC4D5C #8CAC4D #4DAC9D
square
#6D4DAC #AC4D5C #8CAC4D #4DAC9D
split-complementary
#6D4DAC #AC9D4D #5CAC4D
monochromatic
#372757 #523A82 #6D4DAC #8F75C1 #B19FD4

Accessibility & contrast

On white

6.35
#6D4DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D4DAC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DAC#FFFFFF#000000##FFFFFF
##6D4DAC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#2D5EAA
Tritanopia (blue-blind)
#5E6075
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d4dac;
/* rgb */ color: rgb(109, 77, 172);
/* oklch */ color: oklch(50.1% 0.146 296.3);
Tailwind
colors: {
  custom: {
    50: '#9a80c5',
    500: '#6d4dac',
    950: '#000000',
  },
}
SCSS
$custom: #6d4dac;
$custom-light: #9a80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4dac",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 172
  },
  "hsl": {
    "h": 260.211,
    "s": 38.153,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.1464,
    "h": 296.3
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#6D4DAC
secondary
#B2C194
accent
#CE5AA7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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