#6D3AB9#6D3AB9

#6D3AB9 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.189 H 297.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6D3AB9
RGBrgb(109, 58, 185)
HSLhsl(264, 52%, 48%)
HSVhsv(264, 69%, 73%)
CMYKcmyk(41.1%, 68.6%, 0%, 27.5%)
CIE-LABlab(37.44, 48.98, -58.90)
CIE-LCHlch(37.44, 76.61, 309.74°)
OKLaboklab(48.23% 0.0862 -0.1682)
OKLCHoklch(48.23% 0.189 297.1)
XYZxyz(16.5744, 9.7798, 46.9040)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3AB9 #86B93A
analogous
#3A47B9 #6D3AB9 #AC3AB9
triadic
#6D3AB9 #B96D3A #3AB96D
tetradic
#6D3AB9 #B93A47 #86B93A #3AB9AC
square
#6D3AB9 #B93A47 #86B93A #3AB9AC
split-complementary
#6D3AB9 #B9AC3A #47B93A
monochromatic
#361D5C #522B8A #6D3AB9 #8E62CE #AF91DC

Accessibility & contrast

On white

7.10
#6D3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6D3AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3AB9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3AB9#FFFFFF#000000##FFFFFF
##6D3AB91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#5A5975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3ab9;
/* rgb */ color: rgb(109, 58, 185);
/* oklch */ color: oklch(48.2% 0.189 297.1);
Tailwind
colors: {
  custom: {
    50: '#9d74cf',
    500: '#6d3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ab9;
$custom-light: #9d74cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ab9",
  "rgb": {
    "r": 109,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 264.094,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.18902,
    "h": 297.1
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#6D3AB9
secondary
#AEC787
accent
#DC4CA2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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