#6D3AB6#6D3AB6

#6D3AB6 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.186 H 297.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6D3AB6
RGBrgb(109, 58, 182)
HSLhsl(265, 52%, 47%)
HSVhsv(265, 68%, 71%)
CMYKcmyk(40.1%, 68.1%, 0%, 28.6%)
CIE-LABlab(37.22, 48.20, -57.50)
CIE-LCHlch(37.22, 75.03, 309.97°)
OKLaboklab(47.99% 0.0867 -0.1641)
OKLCHoklch(47.99% 0.186 297.8)
XYZxyz(16.2611, 9.6545, 45.2537)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3AB6 #83B63A
analogous
#3A45B6 #6D3AB6 #AB3AB6
triadic
#6D3AB6 #B66D3A #3AB66D
tetradic
#6D3AB6 #B63A45 #83B63A #3AB6AB
square
#6D3AB6 #B63A45 #83B63A #3AB6AB
split-complementary
#6D3AB6 #B6AB3A #45B63A
monochromatic
#351C59 #512B88 #6D3AB6 #8D61CD #AE8FDB

Accessibility & contrast

On white

7.16
#6D3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6D3AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3AB6
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3AB6#FFFFFF#000000##FFFFFF
##6D3AB61.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#5B5773
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3ab6;
/* rgb */ color: rgb(109, 58, 182);
/* oklch */ color: oklch(48.0% 0.186 297.8);
Tailwind
colors: {
  custom: {
    50: '#9d74cd',
    500: '#6d3ab6',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ab6;
$custom-light: #9d74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ab6",
  "rgb": {
    "r": 109,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 264.677,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.18559,
    "h": 297.8
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#6D3AB6
secondary
#ACC686
accent
#DB4DA1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D3AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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