#6D3BAE#6D3BAE

#6D3BAE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.175 H 299.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6D3BAE
RGBrgb(109, 59, 174)
HSLhsl(266, 49%, 46%)
HSVhsv(266, 66%, 68%)
CMYKcmyk(37.4%, 66.1%, 0%, 31.8%)
CIE-LABlab(36.81, 45.60, -53.42)
CIE-LCHlch(36.81, 70.24, 310.48°)
OKLaboklab(47.51% 0.0866 -0.1521)
OKLCHoklch(47.51% 0.175 299.7)
XYZxyz(15.5087, 9.4350, 41.0403)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3BAE #7CAE3B
analogous
#3B42AE #6D3BAE #A63BAE
triadic
#6D3BAE #AE6D3B #3BAE6D
tetradic
#6D3BAE #AE3B42 #7CAE3B #3BAEA6
square
#6D3BAE #AE3B42 #7CAE3B #3BAEA6
split-complementary
#6D3BAE #AEA63B #42AE3B
monochromatic
#341C53 #502C80 #6D3BAE #8C5EC8 #AD8CD8

Accessibility & contrast

On white

7.27
#6D3BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6D3BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3BAE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3BAE#FFFFFF#000000##FFFFFF
##6D3BAE1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#5E556F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6d3bae;
/* rgb */ color: rgb(109, 59, 174);
/* oklch */ color: oklch(47.5% 0.175 299.7);
Tailwind
colors: {
  custom: {
    50: '#9c74c7',
    500: '#6d3bae',
    950: '#000000',
  },
}
SCSS
$custom: #6d3bae;
$custom-light: #9c74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3bae",
  "rgb": {
    "r": 109,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 266.087,
    "s": 49.356,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.17502,
    "h": 299.7
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#6D3BAE
secondary
#A7C282
accent
#D94F9D
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6D3BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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