#6C3DAE#6C3DAE

#6C3DAE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.172 H 298.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6C3DAE
RGBrgb(108, 61, 174)
HSLhsl(265, 48%, 46%)
HSVhsv(265, 65%, 68%)
CMYKcmyk(37.9%, 64.9%, 0%, 31.8%)
CIE-LABlab(37.08, 44.32, -52.99)
CIE-LCHlch(37.08, 69.08, 309.91°)
OKLaboklab(47.68% 0.083 -0.1509)
OKLCHoklch(47.68% 0.172 298.8)
XYZxyz(15.4912, 9.5814, 41.0694)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3DAE #7FAE3D
analogous
#3D46AE #6C3DAE #A43DAE
triadic
#6C3DAE #AE6C3D #3DAE6C
tetradic
#6C3DAE #AE3D46 #7FAE3D #3DAEA4
square
#6C3DAE #AE3D46 #7FAE3D #3DAEA4
split-complementary
#6C3DAE #AEA43D #46AE3D
monochromatic
#341D53 #502D81 #6C3DAE #8B61C8 #AD8ED7

Accessibility & contrast

On white

7.20
#6C3DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6C3DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3DAE
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3DAE#FFFFFF#000000##FFFFFF
##6C3DAE1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3dae;
/* rgb */ color: rgb(108, 61, 174);
/* oklch */ color: oklch(47.7% 0.172 298.8);
Tailwind
colors: {
  custom: {
    50: '#9b75c7',
    500: '#6c3dae',
    950: '#000000',
  },
}
SCSS
$custom: #6c3dae;
$custom-light: #9b75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3dae",
  "rgb": {
    "r": 108,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 264.956,
    "s": 48.085,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.17216,
    "h": 298.8
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#6C3DAE
secondary
#A9C285
accent
#D8509F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6C3DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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