#6D3AAB#6D3AAB

#6D3AAB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.173 H 300.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6D3AAB
RGBrgb(109, 58, 171)
HSLhsl(267, 49%, 45%)
HSVhsv(267, 66%, 67%)
CMYKcmyk(36.3%, 66.1%, 0%, 32.9%)
CIE-LABlab(36.40, 45.35, -52.30)
CIE-LCHlch(36.40, 69.22, 310.93°)
OKLaboklab(47.15% 0.0881 -0.1488)
OKLCHoklch(47.15% 0.173 300.6)
XYZxyz(15.1686, 9.2175, 39.5002)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3AAB #78AB3A
analogous
#3A3FAB #6D3AAB #A63AAB
triadic
#6D3AAB #AB6D3A #3AAB6D
tetradic
#6D3AAB #AB3A3F #78AB3A #3AABA6
square
#6D3AAB #AB3A3F #78AB3A #3AABA6
split-complementary
#6D3AAB #ABA63A #3FAB3A
monochromatic
#331B50 #502A7D #6D3AAB #8C5BC7 #AC89D7

Accessibility & contrast

On white

7.39
#6D3AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6D3AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3AAB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3AAB#FFFFFF#000000##FFFFFF
##6D3AAB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#60536D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d3aab;
/* rgb */ color: rgb(109, 58, 171);
/* oklch */ color: oklch(47.1% 0.173 300.6);
Tailwind
colors: {
  custom: {
    50: '#9c73c5',
    500: '#6d3aab',
    950: '#000000',
  },
}
SCSS
$custom: #6d3aab;
$custom-light: #9c73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3aab",
  "rgb": {
    "r": 109,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 267.08,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.17289,
    "h": 300.6
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#6D3AAB
secondary
#A4C180
accent
#D94F9B
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6D3AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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