#6D3BAD#6D3BAD

#6D3BAD is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.174 H 299.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6D3BAD
RGBrgb(109, 59, 173)
HSLhsl(266, 49%, 45%)
HSVhsv(266, 66%, 68%)
CMYKcmyk(37%, 65.9%, 0%, 32.2%)
CIE-LABlab(36.74, 45.34, -52.94)
CIE-LCHlch(36.74, 69.70, 310.58°)
OKLaboklab(47.44% 0.0867 -0.1507)
OKLCHoklch(47.44% 0.174 299.9)
XYZxyz(15.4116, 9.3961, 40.5287)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3BAD #7BAD3B
analogous
#3B42AD #6D3BAD #A63BAD
triadic
#6D3BAD #AD6D3B #3BAD6D
tetradic
#6D3BAD #AD3B42 #7BAD3B #3BADA6
square
#6D3BAD #AD3B42 #7BAD3B #3BADA6
split-complementary
#6D3BAD #ADA63B #42AD3B
monochromatic
#331C52 #502B7F #6D3BAD #8C5DC8 #AD8BD7

Accessibility & contrast

On white

7.29
#6D3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6D3BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3BAD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3BAD#FFFFFF#000000##FFFFFF
##6D3BAD1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#5F556F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d3bad;
/* rgb */ color: rgb(109, 59, 173);
/* oklch */ color: oklch(47.4% 0.174 299.9);
Tailwind
colors: {
  custom: {
    50: '#9c74c6',
    500: '#6d3bad',
    950: '#000000',
  },
}
SCSS
$custom: #6d3bad;
$custom-light: #9c74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3bad",
  "rgb": {
    "r": 109,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 266.316,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47436,
    "c": 0.17386,
    "h": 299.9
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#6D3BAD
secondary
#A6C282
accent
#D94F9C
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6D3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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