#6B39B9#6B39B9

#6B39B9 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.190 H 296.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6B39B9
RGBrgb(107, 57, 185)
HSLhsl(263, 53%, 47%)
HSVhsv(263, 69%, 73%)
CMYKcmyk(42.2%, 69.2%, 0%, 27.5%)
CIE-LABlab(37.03, 49.10, -59.59)
CIE-LCHlch(37.03, 77.21, 309.49°)
OKLaboklab(47.88% 0.0844 -0.1703)
OKLCHoklch(47.88% 0.19 296.4)
XYZxyz(16.2812, 9.5545, 46.8759)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39B9 #87B939
analogous
#3947B9 #6B39B9 #AB39B9
triadic
#6B39B9 #B96B39 #39B96B
tetradic
#6B39B9 #B93947 #87B939 #39B9AB
square
#6B39B9 #B93947 #87B939 #39B9AB
split-complementary
#6B39B9 #B9AB39 #47B939
monochromatic
#351C5B #502B8A #6B39B9 #8C61CE #AE90DD

Accessibility & contrast

On white

7.21
#6B39B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B39B9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39B9#FFFFFF#000000##FFFFFF
##6B39B91.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#575875
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b39b9;
/* rgb */ color: rgb(107, 57, 185);
/* oklch */ color: oklch(47.9% 0.190 296.4);
Tailwind
colors: {
  custom: {
    50: '#9c73cf',
    500: '#6b39b9',
    950: '#000000',
  },
}
SCSS
$custom: #6b39b9;
$custom-light: #9c73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39b9",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 263.438,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47879,
    "c": 0.19006,
    "h": 296.4
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#6B39B9
secondary
#AEC886
accent
#DC4BA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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