#6D3AC7#6D3AC7

#6D3AC7 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.205 H 294.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6D3AC7
RGBrgb(109, 58, 199)
HSLhsl(262, 56%, 50%)
HSVhsv(262, 71%, 78%)
CMYKcmyk(45.2%, 70.9%, 0%, 22%)
CIE-LABlab(38.55, 52.66, -65.30)
CIE-LCHlch(38.55, 83.89, 308.89°)
OKLaboklab(49.36% 0.0838 -0.187)
OKLCHoklch(49.36% 0.205 294.1)
XYZxyz(18.1257, 10.4003, 55.0742)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3AC7 #94C73A
analogous
#3A4DC7 #6D3AC7 #B33AC7
triadic
#6D3AC7 #C76D3A #3AC76D
tetradic
#6D3AC7 #C73A4D #94C73A #3AC7B3
square
#6D3AC7 #C73A4D #94C73A #3AC7B3
split-complementary
#6D3AC7 #C7B33A #4DC73A
monochromatic
#391E69 #532B98 #6D3AC7 #906AD5 #B499E2

Accessibility & contrast

On white

6.82
#6D3AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6D3AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3AC7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3AC7#FFFFFF#000000##FFFFFF
##6D3AC71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#535E7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d3ac7;
/* rgb */ color: rgb(109, 58, 199);
/* oklch */ color: oklch(49.4% 0.205 294.1);
Tailwind
colors: {
  custom: {
    50: '#9e74d9',
    500: '#6d3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ac7;
$custom-light: #9e74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ac7",
  "rgb": {
    "r": 109,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 261.702,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49361,
    "c": 0.20491,
    "h": 294.1
  },
  "luminance": 0.10401
}

Semantic roles & 50–950 ramp

primary
#6D3AC7
secondary
#B7CE8F
accent
#DF49A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6D3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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