#6D3ACC#6D3ACC

#6D3ACC is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.211 H 293.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6D3ACC
RGBrgb(109, 58, 204)
HSLhsl(261, 59%, 51%)
HSVhsv(261, 72%, 80%)
CMYKcmyk(46.6%, 71.6%, 0%, 20%)
CIE-LABlab(38.96, 53.99, -67.53)
CIE-LCHlch(38.96, 86.46, 308.64°)
OKLaboklab(49.78% 0.0828 -0.1936)
OKLCHoklch(49.78% 0.211 293.2)
XYZxyz(18.7158, 10.6364, 58.1819)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3ACC #99CC3A
analogous
#3A50CC #6D3ACC #B63ACC
triadic
#6D3ACC #CC6D3A #3ACC6D
tetradic
#6D3ACC #CC3A50 #99CC3A #3ACCB6
square
#6D3ACC #CC3A50 #99CC3A #3ACCB6
split-complementary
#6D3ACC #CCB63A #50CC3A
monochromatic
#391D6F #5329A0 #6D3ACC #916BD9 #B59BE5

Accessibility & contrast

On white

6.71
#6D3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6D3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3ACC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3ACC#FFFFFF#000000##FFFFFF
##6D3ACC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#50607F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d3acc;
/* rgb */ color: rgb(109, 58, 204);
/* oklch */ color: oklch(49.8% 0.211 293.2);
Tailwind
colors: {
  custom: {
    50: '#9f75dd',
    500: '#6d3acc',
    950: '#000000',
  },
}
SCSS
$custom: #6d3acc;
$custom-light: #9f75dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3acc",
  "rgb": {
    "r": 109,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 260.959,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.21052,
    "h": 293.2
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#6D3ACC
secondary
#BBD191
accent
#E246AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6D3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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