#6B39BB#6B39BB

#6B39BB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.192 H 295.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6B39BB
RGBrgb(107, 57, 187)
HSLhsl(263, 53%, 48%)
HSVhsv(263, 70%, 73%)
CMYKcmyk(42.8%, 69.5%, 0%, 26.7%)
CIE-LABlab(37.19, 49.63, -60.51)
CIE-LCHlch(37.19, 78.26, 309.36°)
OKLaboklab(48.04% 0.0841 -0.173)
OKLCHoklch(48.04% 0.192 295.9)
XYZxyz(16.4938, 9.6395, 47.9957)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39BB #89BB39
analogous
#3948BB #6B39BB #AC39BB
triadic
#6B39BB #BB6B39 #39BB6B
tetradic
#6B39BB #BB3948 #89BB39 #39BBAC
square
#6B39BB #BB3948 #89BB39 #39BBAC
split-complementary
#6B39BB #BBAC39 #48BB39
monochromatic
#351C5D #502B8C #6B39BB #8C62CF #AE91DD

Accessibility & contrast

On white

7.17
#6B39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6B39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B39BB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39BB#FFFFFF#000000##FFFFFF
##6B39BB1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b39bb;
/* rgb */ color: rgb(107, 57, 187);
/* oklch */ color: oklch(48.0% 0.192 295.9);
Tailwind
colors: {
  custom: {
    50: '#9c73d0',
    500: '#6b39bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b39bb;
$custom-light: #9c73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39bb",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 263.077,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4804,
    "c": 0.19235,
    "h": 295.9
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#6B39BB
secondary
#AFC887
accent
#DD4BA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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