#6C39BB#6C39BB

#6C39BB is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.192 H 296.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6C39BB
RGBrgb(108, 57, 187)
HSLhsl(264, 53%, 48%)
HSVhsv(264, 70%, 73%)
CMYKcmyk(42.2%, 69.5%, 0%, 26.7%)
CIE-LABlab(37.30, 49.82, -60.32)
CIE-LCHlch(37.30, 78.23, 309.56°)
OKLaboklab(48.15% 0.0855 -0.1724)
OKLCHoklch(48.15% 0.192 296.4)
XYZxyz(16.6148, 9.7019, 48.0014)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39BB #88BB39
analogous
#3947BB #6C39BB #AD39BB
triadic
#6C39BB #BB6C39 #39BB6C
tetradic
#6C39BB #BB3947 #88BB39 #39BBAD
square
#6C39BB #BB3947 #88BB39 #39BBAD
split-complementary
#6C39BB #BBAD39 #47BB39
monochromatic
#361C5D #512B8C #6C39BB #8D62CF #AF91DD

Accessibility & contrast

On white

7.14
#6C39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6C39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C39BB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39BB#FFFFFF#000000##FFFFFF
##6C39BB1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#575976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c39bb;
/* rgb */ color: rgb(108, 57, 187);
/* oklch */ color: oklch(48.1% 0.192 296.4);
Tailwind
colors: {
  custom: {
    50: '#9d73d0',
    500: '#6c39bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c39bb;
$custom-light: #9d73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39bb",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 263.538,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48147,
    "c": 0.19243,
    "h": 296.4
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#6C39BB
secondary
#AFC887
accent
#DD4BA4
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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