#6C3EBA#6C3EBA

#6C3EBA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.185 H 295.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6C3EBA
RGBrgb(108, 62, 186)
HSLhsl(262, 50%, 49%)
HSVhsv(262, 67%, 73%)
CMYKcmyk(41.9%, 66.7%, 0%, 27.1%)
CIE-LABlab(38.16, 46.97, -58.33)
CIE-LCHlch(38.16, 74.89, 308.84°)
OKLaboklab(48.74% 0.0805 -0.1666)
OKLCHoklch(48.74% 0.185 295.8)
XYZxyz(16.7676, 10.1782, 47.5260)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EBA #8CBA3E
analogous
#3E4EBA #6C3EBA #AA3EBA
triadic
#6C3EBA #BA6C3E #3EBA6C
tetradic
#6C3EBA #BA3E4E #8CBA3E #3EBAAA
square
#6C3EBA #BA3E4E #8CBA3E #3EBAAA
split-complementary
#6C3EBA #BAAA3E #4EBA3E
monochromatic
#371F5E #512F8C #6C3EBA #8E68CD #B096DC

Accessibility & contrast

On white

6.92
#6C3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6C3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3EBA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EBA#FFFFFF#000000##FFFFFF
##6C3EBA1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#585B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6c3eba;
/* rgb */ color: rgb(108, 62, 186);
/* oklch */ color: oklch(48.7% 0.185 295.8);
Tailwind
colors: {
  custom: {
    50: '#9c76d0',
    500: '#6c3eba',
    950: '#000000',
  },
}
SCSS
$custom: #6c3eba;
$custom-light: #9c76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3eba",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 262.258,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48738,
    "c": 0.18501,
    "h": 295.8
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#6C3EBA
secondary
#B2C88C
accent
#DA4EA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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