#6C39B7#6C39B7

#6C39B7 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.188 H 297.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6C39B7
RGBrgb(108, 57, 183)
HSLhsl(264, 53%, 47%)
HSVhsv(264, 69%, 72%)
CMYKcmyk(41%, 68.9%, 0%, 28.2%)
CIE-LABlab(36.99, 48.77, -58.46)
CIE-LCHlch(36.99, 76.14, 309.83°)
OKLaboklab(47.83% 0.0862 -0.1669)
OKLCHoklch(47.83% 0.188 297.3)
XYZxyz(16.1925, 9.5330, 45.7775)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39B7 #84B739
analogous
#3945B7 #6C39B7 #AB39B7
triadic
#6C39B7 #B76C39 #39B76C
tetradic
#6C39B7 #B73945 #84B739 #39B7AB
square
#6C39B7 #B73945 #84B739 #39B7AB
split-complementary
#6C39B7 #B7AB39 #45B739
monochromatic
#351C5A #502A88 #6C39B7 #8C60CD #AE8EDC

Accessibility & contrast

On white

7.22
#6C39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6C39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C39B7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39B7#FFFFFF#000000##FFFFFF
##6C39B71.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#595773
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c39b7;
/* rgb */ color: rgb(108, 57, 183);
/* oklch */ color: oklch(47.8% 0.188 297.3);
Tailwind
colors: {
  custom: {
    50: '#9c73cd',
    500: '#6c39b7',
    950: '#000000',
  },
}
SCSS
$custom: #6c39b7;
$custom-light: #9c73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39b7",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 264.286,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47828,
    "c": 0.18787,
    "h": 297.3
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#6C39B7
secondary
#ACC785
accent
#DC4CA2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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