#6D4DAB#6D4DAB

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

Color values

HEX#6D4DAB
RGBrgb(109, 77, 171)
HSLhsl(260, 38%, 49%)
HSVhsv(260, 55%, 67%)
CMYKcmyk(36.3%, 55%, 0%, 32.9%)
CIE-LABlab(40.41, 34.71, -45.84)
CIE-LCHlch(40.41, 57.50, 307.13°)
OKLaboklab(50.08% 0.0647 -0.1298)
OKLCHoklch(50.08% 0.145 296.5)
XYZxyz(16.3094, 11.4990, 39.8804)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DAB #8BAB4D
analogous
#4D5CAB #6D4DAB #9C4DAB
triadic
#6D4DAB #AB6D4D #4DAB6D
tetradic
#6D4DAB #AB4D5C #8BAB4D #4DAB9C
square
#6D4DAB #AB4D5C #8BAB4D #4DAB9C
split-complementary
#6D4DAB #AB9C4D #5CAB4D
monochromatic
#372757 #523A81 #6D4DAB #8E75C1 #B19FD4

Accessibility & contrast

On white

6.36
#6D4DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6D4DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DAB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DAB#FFFFFF#000000##FFFFFF
##6D4DAB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AE
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#5F6074
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d4dab;
/* rgb */ color: rgb(109, 77, 171);
/* oklch */ color: oklch(50.1% 0.145 296.5);
Tailwind
colors: {
  custom: {
    50: '#9a80c4',
    500: '#6d4dab',
    950: '#000000',
  },
}
SCSS
$custom: #6d4dab;
$custom-light: #9a80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4dab",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 260.426,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50075,
    "c": 0.14509,
    "h": 296.5
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#6D4DAB
secondary
#B1C093
accent
#CE5AA6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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