#6C3CBD#6C3CBD

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

Color values

HEX#6C3CBD
RGBrgb(108, 60, 189)
HSLhsl(262, 52%, 49%)
HSVhsv(262, 68%, 74%)
CMYKcmyk(42.9%, 68.3%, 0%, 25.9%)
CIE-LABlab(38.01, 48.82, -60.34)
CIE-LCHlch(38.01, 77.61, 308.97°)
OKLaboklab(48.7% 0.0822 -0.1725)
OKLCHoklch(48.7% 0.191 295.5)
XYZxyz(16.9831, 10.0936, 49.1877)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CBD #8DBD3C
analogous
#3C4DBD #6C3CBD #AD3CBD
triadic
#6C3CBD #BD6C3C #3CBD6C
tetradic
#6C3CBD #BD3C4D #8DBD3C #3CBDAD
square
#6C3CBD #BD3C4D #8DBD3C #3CBDAD
split-complementary
#6C3CBD #BDAD3C #4DBD3C
monochromatic
#371F60 #512D8F #6C3CBD #8E67CF #B196DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C3CBD#FFFFFF#000000##FFFFFF
##6C3CBD1.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)
#005AC1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#565B78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c3cbd;
/* rgb */ color: rgb(108, 60, 189);
/* oklch */ color: oklch(48.7% 0.191 295.5);
Tailwind
colors: {
  custom: {
    50: '#9d75d2',
    500: '#6c3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #6c3cbd;
$custom-light: #9d75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3cbd",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 262.326,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48702,
    "c": 0.19104,
    "h": 295.5
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#6C3CBD
secondary
#B2C98C
accent
#DB4DA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6C3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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