#6D3AC2#6D3AC2

#6D3AC2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.199 H 295.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6D3AC2
RGBrgb(109, 58, 194)
HSLhsl(263, 54%, 49%)
HSVhsv(263, 70%, 76%)
CMYKcmyk(43.8%, 70.1%, 0%, 23.9%)
CIE-LABlab(38.15, 51.34, -63.04)
CIE-LCHlch(38.15, 81.30, 309.16°)
OKLaboklab(48.95% 0.0847 -0.1804)
OKLCHoklch(48.95% 0.199 295.2)
XYZxyz(17.5547, 10.1719, 52.0669)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3AC2 #8FC23A
analogous
#3A4BC2 #6D3AC2 #B13AC2
triadic
#6D3AC2 #C26D3A #3AC26D
tetradic
#6D3AC2 #C23A4B #8FC23A #3AC2B1
square
#6D3AC2 #C23A4B #8FC23A #3AC2B1
split-complementary
#6D3AC2 #C2B13A #4BC23A
monochromatic
#381E64 #532C93 #6D3AC2 #8F67D2 #B297E0

Accessibility & contrast

On white

6.92
#6D3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6D3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3AC2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3AC2#FFFFFF#000000##FFFFFF
##6D3AC21.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#565C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6d3ac2;
/* rgb */ color: rgb(109, 58, 194);
/* oklch */ color: oklch(48.9% 0.199 295.2);
Tailwind
colors: {
  custom: {
    50: '#9e74d5',
    500: '#6d3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ac2;
$custom-light: #9e74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ac2",
  "rgb": {
    "r": 109,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 262.5,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.19927,
    "h": 295.2
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#6D3AC2
secondary
#B4CB8D
accent
#DD4AA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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