#6D3BB7#6D3BB7

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

Color values

HEX#6D3BB7
RGBrgb(109, 59, 183)
HSLhsl(264, 51%, 47%)
HSVhsv(264, 68%, 72%)
CMYKcmyk(40.4%, 67.8%, 0%, 28.2%)
CIE-LABlab(37.48, 47.94, -57.67)
CIE-LCHlch(37.48, 75.00, 309.74°)
OKLaboklab(48.2% 0.0855 -0.1646)
OKLCHoklch(48.2% 0.185 297.4)
XYZxyz(16.4157, 9.7978, 45.8168)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3BB7 #85B73B
analogous
#3B47B7 #6D3BB7 #AB3BB7
triadic
#6D3BB7 #B76D3B #3BB76D
tetradic
#6D3BB7 #B73B47 #85B73B #3BB7AB
square
#6D3BB7 #B73B47 #85B73B #3BB7AB
split-complementary
#6D3BB7 #B7AB3B #47B73B
monochromatic
#361D5A #512C89 #6D3BB7 #8D63CD #AF91DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D3BB7#FFFFFF#000000##FFFFFF
##6D3BB71.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)
#0059BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#5B5874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3bb7;
/* rgb */ color: rgb(109, 59, 183);
/* oklch */ color: oklch(48.2% 0.185 297.4);
Tailwind
colors: {
  custom: {
    50: '#9d74cd',
    500: '#6d3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #6d3bb7;
$custom-light: #9d74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3bb7",
  "rgb": {
    "r": 109,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 264.194,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48202,
    "c": 0.18546,
    "h": 297.4
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#6D3BB7
secondary
#ADC687
accent
#DB4DA2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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