#6C3FBA#6C3FBA

#6C3FBA is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.184 H 295.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6C3FBA
RGBrgb(108, 63, 186)
HSLhsl(262, 49%, 49%)
HSVhsv(262, 66%, 73%)
CMYKcmyk(41.9%, 66.1%, 0%, 27.1%)
CIE-LABlab(38.35, 46.44, -58.02)
CIE-LCHlch(38.35, 74.32, 308.68°)
OKLaboklab(48.88% 0.0794 -0.1656)
OKLCHoklch(48.88% 0.184 295.6)
XYZxyz(16.8224, 10.2880, 47.5443)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FBA #8DBA3F
analogous
#3F50BA #6C3FBA #AA3FBA
triadic
#6C3FBA #BA6C3F #3FBA6C
tetradic
#6C3FBA #BA3F50 #8DBA3F #3FBAAA
square
#6C3FBA #BA3F50 #8DBA3F #3FBAAA
split-complementary
#6C3FBA #BAAA3F #50BA3F
monochromatic
#37205F #51308C #6C3FBA #8E6ACC #B197DC

Accessibility & contrast

On white

6.87
#6C3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6C3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3FBA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FBA#FFFFFF#000000##FFFFFF
##6C3FBA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3fba;
/* rgb */ color: rgb(108, 63, 186);
/* oklch */ color: oklch(48.9% 0.184 295.6);
Tailwind
colors: {
  custom: {
    50: '#9c77d0',
    500: '#6c3fba',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fba;
$custom-light: #9c77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fba",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 261.951,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48877,
    "c": 0.18371,
    "h": 295.6
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#6C3FBA
secondary
#B2C88D
accent
#D94FA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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