#6C3BBA#6C3BBA

#6C3BBA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.189 H 296.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6C3BBA
RGBrgb(108, 59, 186)
HSLhsl(263, 52%, 48%)
HSVhsv(263, 68%, 73%)
CMYKcmyk(41.9%, 68.3%, 0%, 27.1%)
CIE-LABlab(37.59, 48.54, -59.26)
CIE-LCHlch(37.59, 76.60, 309.32°)
OKLaboklab(48.33% 0.0836 -0.1693)
OKLCHoklch(48.33% 0.189 296.3)
XYZxyz(16.6089, 9.8609, 47.4731)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3BBA #89BA3B
analogous
#3B49BA #6C3BBA #AC3BBA
triadic
#6C3BBA #BA6C3B #3BBA6C
tetradic
#6C3BBA #BA3B49 #89BA3B #3BBAAC
square
#6C3BBA #BA3B49 #89BA3B #3BBAAC
split-complementary
#6C3BBA #BAAC3B #49BA3B
monochromatic
#361E5D #512C8C #6C3BBA #8D64CE #AF93DD

Accessibility & contrast

On white

7.07
#6C3BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6C3BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3BBA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3BBA#FFFFFF#000000##FFFFFF
##6C3BBA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#585A76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3bba;
/* rgb */ color: rgb(108, 59, 186);
/* oklch */ color: oklch(48.3% 0.189 296.3);
Tailwind
colors: {
  custom: {
    50: '#9c74d0',
    500: '#6c3bba',
    950: '#000000',
  },
}
SCSS
$custom: #6c3bba;
$custom-light: #9c74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3bba",
  "rgb": {
    "r": 108,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 263.15,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.18882,
    "h": 296.3
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#6C3BBA
secondary
#B0C889
accent
#DB4DA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C3BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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