#6C3FBB#6C3FBB

#6C3FBB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.185 H 295.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6C3FBB
RGBrgb(108, 63, 187)
HSLhsl(262, 50%, 49%)
HSVhsv(262, 66%, 73%)
CMYKcmyk(42.2%, 66.3%, 0%, 26.7%)
CIE-LABlab(38.43, 46.71, -58.48)
CIE-LCHlch(38.43, 74.85, 308.61°)
OKLaboklab(48.96% 0.0793 -0.167)
OKLCHoklch(48.96% 0.185 295.4)
XYZxyz(16.9291, 10.3306, 48.1061)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FBB #8EBB3F
analogous
#3F50BB #6C3FBB #AA3FBB
triadic
#6C3FBB #BB6C3F #3FBB6C
tetradic
#6C3FBB #BB3F50 #8EBB3F #3FBBAA
square
#6C3FBB #BB3F50 #8EBB3F #3FBBAA
split-complementary
#6C3FBB #BBAA3F #50BB3F
monochromatic
#37205F #52308D #6C3FBB #8E6ACD #B198DC

Accessibility & contrast

On white

6.85
#6C3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6C3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3FBB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FBB#FFFFFF#000000##FFFFFF
##6C3FBB1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#575C77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6c3fbb;
/* rgb */ color: rgb(108, 63, 187);
/* oklch */ color: oklch(49.0% 0.185 295.4);
Tailwind
colors: {
  custom: {
    50: '#9c77d0',
    500: '#6c3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fbb;
$custom-light: #9c77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fbb",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 261.774,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48955,
    "c": 0.18489,
    "h": 295.4
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#6C3FBB
secondary
#B3C88E
accent
#D94FA7
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6C3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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