#6D4FAC#6D4FAC

#6D4FAC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.143 H 295.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6D4FAC
RGBrgb(109, 79, 172)
HSLhsl(259, 37%, 49%)
HSVhsv(259, 54%, 67%)
CMYKcmyk(36.6%, 54.1%, 0%, 32.5%)
CIE-LABlab(40.93, 33.80, -45.60)
CIE-LCHlch(40.93, 56.76, 306.55°)
OKLaboklab(50.48% 0.0622 -0.1291)
OKLCHoklch(50.48% 0.143 295.7)
XYZxyz(16.5471, 11.8214, 40.4317)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4FAC #8EAC4F
analogous
#4F60AC #6D4FAC #9C4FAC
triadic
#6D4FAC #AC6D4F #4FAC6D
tetradic
#6D4FAC #AC4F60 #8EAC4F #4FAC9C
square
#6D4FAC #AC4F60 #8EAC4F #4FAC9C
split-complementary
#6D4FAC #AC9C4F #60AC4F
monochromatic
#382858 #523C82 #6D4FAC #8F77C1 #B2A1D4

Accessibility & contrast

On white

6.24
#6D4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D4FAC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4FAC#FFFFFF#000000##FFFFFF
##6D4FAC1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AF
Deuteranopia (green-blind)
#305FAA
Tritanopia (blue-blind)
#5E6276
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4fac;
/* rgb */ color: rgb(109, 79, 172);
/* oklch */ color: oklch(50.5% 0.143 295.7);
Tailwind
colors: {
  custom: {
    50: '#9a81c5',
    500: '#6d4fac',
    950: '#000000',
  },
}
SCSS
$custom: #6d4fac;
$custom-light: #9a81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4fac",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 259.355,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.14332,
    "h": 295.7
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#6D4FAC
secondary
#B3C196
accent
#CD5BA8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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