#6C3AAA#6C3AAA

#6C3AAA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.172 H 300.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6C3AAA
RGBrgb(108, 58, 170)
HSLhsl(267, 49%, 45%)
HSVhsv(267, 66%, 67%)
CMYKcmyk(36.5%, 65.9%, 0%, 33.3%)
CIE-LABlab(36.21, 44.88, -52.02)
CIE-LCHlch(36.21, 68.70, 310.79°)
OKLaboklab(46.96% 0.0868 -0.148)
OKLCHoklch(46.96% 0.172 300.4)
XYZxyz(14.9513, 9.1164, 38.9944)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3AAA #78AA3A
analogous
#3A40AA #6C3AAA #A43AAA
triadic
#6C3AAA #AA6C3A #3AAA6C
tetradic
#6C3AAA #AA3A40 #78AA3A #3AAAA4
square
#6C3AAA #AA3A40 #78AA3A #3AAAA4
split-complementary
#6C3AAA #AAA43A #40AA3A
monochromatic
#321B4F #4F2A7C #6C3AAA #8B5AC7 #AB88D6

Accessibility & contrast

On white

7.44
#6C3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6C3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3AAA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3AAA#FFFFFF#000000##FFFFFF
##6C3AAA1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#5E536D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c3aaa;
/* rgb */ color: rgb(108, 58, 170);
/* oklch */ color: oklch(47.0% 0.172 300.4);
Tailwind
colors: {
  custom: {
    50: '#9b73c4',
    500: '#6c3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6c3aaa;
$custom-light: #9b73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3aaa",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 266.786,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4696,
    "c": 0.17155,
    "h": 300.4
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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