#6C3ABA#6C3ABA

#6C3ABA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.190 H 296.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6C3ABA
RGBrgb(108, 58, 186)
HSLhsl(263, 52%, 48%)
HSVhsv(263, 69%, 73%)
CMYKcmyk(41.9%, 68.8%, 0%, 27.1%)
CIE-LABlab(37.41, 49.05, -59.56)
CIE-LCHlch(37.41, 77.16, 309.47°)
OKLaboklab(48.2% 0.0847 -0.1702)
OKLCHoklch(48.2% 0.19 296.5)
XYZxyz(16.5580, 9.7591, 47.4562)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3ABA #88BA3A
analogous
#3A48BA #6C3ABA #AC3ABA
triadic
#6C3ABA #BA6C3A #3ABA6C
tetradic
#6C3ABA #BA3A48 #88BA3A #3ABAAC
square
#6C3ABA #BA3A48 #88BA3A #3ABAAC
split-complementary
#6C3ABA #BAAC3A #48BA3A
monochromatic
#361D5D #512B8B #6C3ABA #8D63CE #AF92DD

Accessibility & contrast

On white

7.11
#6C3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6C3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3ABA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3ABA#FFFFFF#000000##FFFFFF
##6C3ABA1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#585975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3aba;
/* rgb */ color: rgb(108, 58, 186);
/* oklch */ color: oklch(48.2% 0.190 296.5);
Tailwind
colors: {
  custom: {
    50: '#9c74d0',
    500: '#6c3aba',
    950: '#000000',
  },
}
SCSS
$custom: #6c3aba;
$custom-light: #9c74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3aba",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 263.438,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.19007,
    "h": 296.5
  },
  "luminance": 0.09759
}

Semantic roles & 50–950 ramp

primary
#6C3ABA
secondary
#AFC888
accent
#DC4CA4
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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