#6D3ACB#6D3ACB

#6D3ACB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.209 H 293.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6D3ACB
RGBrgb(109, 58, 203)
HSLhsl(261, 58%, 51%)
HSVhsv(261, 71%, 80%)
CMYKcmyk(46.3%, 71.4%, 0%, 20.4%)
CIE-LABlab(38.88, 53.72, -67.09)
CIE-LCHlch(38.88, 85.95, 308.69°)
OKLaboklab(49.69% 0.083 -0.1923)
OKLCHoklch(49.69% 0.209 293.3)
XYZxyz(18.5963, 10.5885, 57.5523)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3ACB #98CB3A
analogous
#3A4FCB #6D3ACB #B53ACB
triadic
#6D3ACB #CB6D3A #3ACB6D
tetradic
#6D3ACB #CB3A4F #98CB3A #3ACBB5
square
#6D3ACB #CB3A4F #98CB3A #3ACBB5
split-complementary
#6D3ACB #CBB53A #4FCB3A
monochromatic
#391D6E #532A9E #6D3ACB #916AD8 #B59BE5

Accessibility & contrast

On white

6.74
#6D3ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6D3ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3ACB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3ACB#FFFFFF#000000##FFFFFF
##6D3ACB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#515F7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d3acb;
/* rgb */ color: rgb(109, 58, 203);
/* oklch */ color: oklch(49.7% 0.209 293.3);
Tailwind
colors: {
  custom: {
    50: '#9f75dc',
    500: '#6d3acb',
    950: '#000000',
  },
}
SCSS
$custom: #6d3acb;
$custom-light: #9f75dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3acb",
  "rgb": {
    "r": 109,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 261.103,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49694,
    "c": 0.2094,
    "h": 293.3
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#6D3ACB
secondary
#BAD090
accent
#E146AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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