#6D3DAC#6D3DAC

#6D3DAC is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.170 H 299.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6D3DAC
RGBrgb(109, 61, 172)
HSLhsl(266, 48%, 46%)
HSVhsv(266, 65%, 67%)
CMYKcmyk(36.6%, 64.5%, 0%, 32.5%)
CIE-LABlab(37.05, 44.02, -51.83)
CIE-LCHlch(37.05, 68.00, 310.34°)
OKLaboklab(47.64% 0.0845 -0.1474)
OKLCHoklch(47.64% 0.17 299.8)
XYZxyz(15.4200, 9.5671, 40.0560)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3DAC #7CAC3D
analogous
#3D44AC #6D3DAC #A43DAC
triadic
#6D3DAC #AC6D3D #3DAC6D
tetradic
#6D3DAC #AC3D44 #7CAC3D #3DACA4
square
#6D3DAC #AC3D44 #7CAC3D #3DACA4
split-complementary
#6D3DAC #ACA43D #44AC3D
monochromatic
#341D52 #502D7F #6D3DAC #8C60C7 #AD8DD7

Accessibility & contrast

On white

7.21
#6D3DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6D3DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3DAC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3DAC#FFFFFF#000000##FFFFFF
##6D3DAC1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0856AA
Tritanopia (blue-blind)
#5F566F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6d3dac;
/* rgb */ color: rgb(109, 61, 172);
/* oklch */ color: oklch(47.6% 0.170 299.8);
Tailwind
colors: {
  custom: {
    50: '#9b75c5',
    500: '#6d3dac',
    950: '#000000',
  },
}
SCSS
$custom: #6d3dac;
$custom-light: #9b75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3dac",
  "rgb": {
    "r": 109,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 265.946,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.16994,
    "h": 299.8
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#6D3DAC
secondary
#A7C184
accent
#D7519D
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6D3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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