#6D3CBA#6D3CBA

#6D3CBA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.188 H 296.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6D3CBA
RGBrgb(109, 60, 186)
HSLhsl(263, 51%, 48%)
HSVhsv(263, 68%, 73%)
CMYKcmyk(41.4%, 67.7%, 0%, 27.1%)
CIE-LABlab(37.89, 48.22, -58.76)
CIE-LCHlch(37.89, 76.01, 309.37°)
OKLaboklab(48.57% 0.084 -0.1678)
OKLCHoklch(48.57% 0.188 296.6)
XYZxyz(16.7831, 10.0278, 47.4962)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3CBA #89BA3C
analogous
#3C4ABA #6D3CBA #AC3CBA
triadic
#6D3CBA #BA6D3C #3CBA6D
tetradic
#6D3CBA #BA3C4A #89BA3C #3CBAAC
square
#6D3CBA #BA3C4A #89BA3C #3CBAAC
split-complementary
#6D3CBA #BAAC3C #4ABA3C
monochromatic
#371E5D #522D8C #6D3CBA #8E66CE #B094DC

Accessibility & contrast

On white

6.99
#6D3CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6D3CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3CBA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3CBA#FFFFFF#000000##FFFFFF
##6D3CBA1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#595A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d3cba;
/* rgb */ color: rgb(109, 60, 186);
/* oklch */ color: oklch(48.6% 0.188 296.6);
Tailwind
colors: {
  custom: {
    50: '#9d75d0',
    500: '#6d3cba',
    950: '#000000',
  },
}
SCSS
$custom: #6d3cba;
$custom-light: #9d75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3cba",
  "rgb": {
    "r": 109,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 263.333,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.18766,
    "h": 296.6
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#6D3CBA
secondary
#B0C88A
accent
#DB4DA4
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6D3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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