#6C3ABE#6C3ABE

#6C3ABE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.195 H 295.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6C3ABE
RGBrgb(108, 58, 190)
HSLhsl(263, 53%, 49%)
HSVhsv(263, 69%, 75%)
CMYKcmyk(43.2%, 69.5%, 0%, 25.5%)
CIE-LABlab(37.72, 50.10, -61.40)
CIE-LCHlch(37.72, 79.25, 309.22°)
OKLaboklab(48.52% 0.084 -0.1756)
OKLCHoklch(48.52% 0.195 295.6)
XYZxyz(16.9892, 9.9316, 49.7271)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3ABE #8CBE3A
analogous
#3A4ABE #6C3ABE #AE3ABE
triadic
#6C3ABE #BE6C3A #3ABE6C
tetradic
#6C3ABE #BE3A4A #8CBE3A #3ABEAE
square
#6C3ABE #BE3A4A #8CBE3A #3ABEAE
split-complementary
#6C3ABE #BEAE3A #4ABE3A
monochromatic
#371D60 #512C8F #6C3ABE #8E65D0 #B094DE

Accessibility & contrast

On white

7.03
#6C3ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6C3ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3ABE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3ABE#FFFFFF#000000##FFFFFF
##6C3ABE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#565B78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c3abe;
/* rgb */ color: rgb(108, 58, 190);
/* oklch */ color: oklch(48.5% 0.195 295.6);
Tailwind
colors: {
  custom: {
    50: '#9d74d3',
    500: '#6c3abe',
    950: '#000000',
  },
}
SCSS
$custom: #6c3abe;
$custom-light: #9d74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3abe",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 262.727,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48519,
    "c": 0.19464,
    "h": 295.6
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#6C3ABE
secondary
#B2CA8A
accent
#DD4BA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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