#6D3CA2#6D3CA2

#6D3CA2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.160 H 302.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6D3CA2
RGBrgb(109, 60, 162)
HSLhsl(269, 46%, 44%)
HSVhsv(269, 63%, 64%)
CMYKcmyk(32.7%, 63%, 0%, 36.5%)
CIE-LABlab(36.16, 41.98, -47.29)
CIE-LCHlch(36.16, 63.24, 311.60°)
OKLaboklab(46.77% 0.0864 -0.1341)
OKLCHoklch(46.77% 0.16 302.8)
XYZxyz(14.4426, 9.0916, 35.1694)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3CA2 #71A23C
analogous
#3C3EA2 #6D3CA2 #A03CA2
triadic
#6D3CA2 #A26D3C #3CA26D
tetradic
#6D3CA2 #A23C3E #71A23C #3CA2A0
square
#6D3CA2 #A23C3E #71A23C #3CA2A0
split-complementary
#6D3CA2 #A2A03C #3EA23C
monochromatic
#311B49 #4F2B75 #6D3CA2 #8C59C2 #AB86D2

Accessibility & contrast

On white

7.45
#6D3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6D3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3CA2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3CA2#FFFFFF#000000##FFFFFF
##6D3CA21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#1E55A0
Tritanopia (blue-blind)
#635269
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d3ca2;
/* rgb */ color: rgb(109, 60, 162);
/* oklch */ color: oklch(46.8% 0.160 302.8);
Tailwind
colors: {
  custom: {
    50: '#9b74be',
    500: '#6d3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ca2;
$custom-light: #9b74be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ca2",
  "rgb": {
    "r": 109,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 268.824,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.15952,
    "h": 302.8
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#6D3CA2
secondary
#9EBC7D
accent
#D65296
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6D3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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