#6C3DBB#6C3DBB

#6C3DBB is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.187 H 295.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6C3DBB
RGBrgb(108, 61, 187)
HSLhsl(262, 51%, 49%)
HSVhsv(262, 67%, 73%)
CMYKcmyk(42.2%, 67.4%, 0%, 26.7%)
CIE-LABlab(38.04, 47.77, -59.11)
CIE-LCHlch(38.04, 76.00, 308.94°)
OKLaboklab(48.68% 0.0814 -0.1688)
OKLCHoklch(48.68% 0.187 295.7)
XYZxyz(16.8204, 10.1131, 48.0699)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3DBB #8CBB3D
analogous
#3D4DBB #6C3DBB #AB3DBB
triadic
#6C3DBB #BB6C3D #3DBB6C
tetradic
#6C3DBB #BB3D4D #8CBB3D #3DBBAB
square
#6C3DBB #BB3D4D #8CBB3D #3DBBAB
split-complementary
#6C3DBB #BBAB3D #4DBB3D
monochromatic
#371F5F #512E8D #6C3DBB #8E68CE #B096DD

Accessibility & contrast

On white

6.95
#6C3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C3DBB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3DBB#FFFFFF#000000##FFFFFF
##6C3DBB1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#575B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6c3dbb;
/* rgb */ color: rgb(108, 61, 187);
/* oklch */ color: oklch(48.7% 0.187 295.7);
Tailwind
colors: {
  custom: {
    50: '#9c76d0',
    500: '#6c3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #6c3dbb;
$custom-light: #9c76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3dbb",
  "rgb": {
    "r": 108,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 262.381,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.18746,
    "h": 295.7
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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