#6C3FB5#6C3FB5

#6C3FB5 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.178 H 296.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6C3FB5
RGBrgb(108, 63, 181)
HSLhsl(263, 48%, 48%)
HSVhsv(263, 65%, 71%)
CMYKcmyk(40.3%, 65.2%, 0%, 29%)
CIE-LABlab(37.98, 45.10, -55.67)
CIE-LCHlch(37.98, 71.65, 309.01°)
OKLaboklab(48.49% 0.08 -0.1587)
OKLCHoklch(48.49% 0.178 296.7)
XYZxyz(16.3002, 10.0791, 44.7938)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FB5 #88B53F
analogous
#3F4DB5 #6C3FB5 #A73FB5
triadic
#6C3FB5 #B56C3F #3FB56C
tetradic
#6C3FB5 #B53F4D #88B53F #3FB5A7
square
#6C3FB5 #B53F4D #88B53F #3FB5A7
split-complementary
#6C3FB5 #B5A73F #4DB53F
monochromatic
#361F5A #512F88 #6C3FB5 #8D67CA #AF94DA

Accessibility & contrast

On white

6.96
#6C3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6C3FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3FB5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FB5#FFFFFF#000000##FFFFFF
##6C3FB51.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#5A5A74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c3fb5;
/* rgb */ color: rgb(108, 63, 181);
/* oklch */ color: oklch(48.5% 0.178 296.7);
Tailwind
colors: {
  custom: {
    50: '#9c77cc',
    500: '#6c3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fb5;
$custom-light: #9c77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fb5",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 262.881,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.17777,
    "h": 296.7
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#6C3FB5
secondary
#AFC58A
accent
#D850A4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6C3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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