#6C3FBD#6C3FBD

#6C3FBD is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.187 H 295.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6C3FBD
RGBrgb(108, 63, 189)
HSLhsl(261, 50%, 49%)
HSVhsv(261, 67%, 74%)
CMYKcmyk(42.9%, 66.7%, 0%, 25.9%)
CIE-LABlab(38.58, 47.25, -59.41)
CIE-LCHlch(38.58, 75.91, 308.49°)
OKLaboklab(49.11% 0.0791 -0.1698)
OKLCHoklch(49.11% 0.187 295)
XYZxyz(17.1447, 10.4169, 49.2416)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FBD #90BD3F
analogous
#3F51BD #6C3FBD #AB3FBD
triadic
#6C3FBD #BD6C3F #3FBD6C
tetradic
#6C3FBD #BD3F51 #90BD3F #3FBDAB
square
#6C3FBD #BD3F51 #90BD3F #3FBDAB
split-complementary
#6C3FBD #BDAB3F #51BD3F
monochromatic
#382061 #52308F #6C3FBD #8F6BCE #B299DD

Accessibility & contrast

On white

6.81
#6C3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6C3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3FBD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FBD#FFFFFF#000000##FFFFFF
##6C3FBD1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#565D79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c3fbd;
/* rgb */ color: rgb(108, 63, 189);
/* oklch */ color: oklch(49.1% 0.187 295.0);
Tailwind
colors: {
  custom: {
    50: '#9c77d2',
    500: '#6c3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fbd;
$custom-light: #9c77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fbd",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 261.429,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.18725,
    "h": 295
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#6C3FBD
secondary
#B4C98F
accent
#DA4EA8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6C3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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