#6C3CBA#6C3CBA

#6C3CBA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.188 H 296.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6C3CBA
RGBrgb(108, 60, 186)
HSLhsl(263, 51%, 48%)
HSVhsv(263, 68%, 73%)
CMYKcmyk(41.9%, 67.7%, 0%, 27.1%)
CIE-LABlab(37.78, 48.02, -58.95)
CIE-LCHlch(37.78, 76.03, 309.17°)
OKLaboklab(48.46% 0.0826 -0.1684)
OKLCHoklch(48.46% 0.188 296.1)
XYZxyz(16.6608, 9.9647, 47.4904)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CBA #8ABA3C
analogous
#3C4BBA #6C3CBA #AB3CBA
triadic
#6C3CBA #BA6C3C #3CBA6C
tetradic
#6C3CBA #BA3C4B #8ABA3C #3CBAAB
square
#6C3CBA #BA3C4B #8ABA3C #3CBAAB
split-complementary
#6C3CBA #BAAB3C #4BBA3C
monochromatic
#361E5D #512D8C #6C3CBA #8D66CE #B094DC

Accessibility & contrast

On white

7.02
#6C3CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C3CBA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CBA#FFFFFF#000000##FFFFFF
##6C3CBA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#585A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c3cba;
/* rgb */ color: rgb(108, 60, 186);
/* oklch */ color: oklch(48.5% 0.188 296.1);
Tailwind
colors: {
  custom: {
    50: '#9c75d0',
    500: '#6c3cba',
    950: '#000000',
  },
}
SCSS
$custom: #6c3cba;
$custom-light: #9c75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3cba",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 262.857,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.18756,
    "h": 296.1
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#6C3CBA
secondary
#B0C88A
accent
#DB4DA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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