#6D3CAC#6D3CAC

#6D3CAC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.171 H 300.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6D3CAC
RGBrgb(109, 60, 172)
HSLhsl(266, 48%, 45%)
HSVhsv(266, 65%, 67%)
CMYKcmyk(36.6%, 65.1%, 0%, 32.5%)
CIE-LABlab(36.86, 44.55, -52.15)
CIE-LCHlch(36.86, 68.59, 310.51°)
OKLaboklab(47.5% 0.0857 -0.1484)
OKLCHoklch(47.5% 0.171 300)
XYZxyz(15.3671, 9.4614, 40.0383)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3CAC #7BAC3C
analogous
#3C43AC #6D3CAC #A53CAC
triadic
#6D3CAC #AC6D3C #3CAC6D
tetradic
#6D3CAC #AC3C43 #7BAC3C #3CACA5
square
#6D3CAC #AC3C43 #7BAC3C #3CACA5
split-complementary
#6D3CAC #ACA53C #43AC3C
monochromatic
#331C51 #502C7F #6D3CAC #8C5EC7 #AD8CD7

Accessibility & contrast

On white

7.26
#6D3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6D3CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3CAC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3CAC#FFFFFF#000000##FFFFFF
##6D3CAC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0356AA
Tritanopia (blue-blind)
#5F556E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6d3cac;
/* rgb */ color: rgb(109, 60, 172);
/* oklch */ color: oklch(47.5% 0.171 300.0);
Tailwind
colors: {
  custom: {
    50: '#9c75c5',
    500: '#6d3cac',
    950: '#000000',
  },
}
SCSS
$custom: #6d3cac;
$custom-light: #9c75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3cac",
  "rgb": {
    "r": 109,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 266.25,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.17132,
    "h": 300
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#6D3CAC
secondary
#A6C182
accent
#D8509C
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6D3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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