#6B39B7#6B39B7

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

Color values

HEX#6B39B7
RGBrgb(107, 57, 183)
HSLhsl(264, 53%, 47%)
HSVhsv(264, 69%, 72%)
CMYKcmyk(41.5%, 68.9%, 0%, 28.2%)
CIE-LABlab(36.88, 48.58, -58.66)
CIE-LCHlch(36.88, 76.16, 309.63°)
OKLaboklab(47.72% 0.0847 -0.1675)
OKLCHoklch(47.72% 0.188 296.8)
XYZxyz(16.0715, 9.4706, 45.7718)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39B7 #85B739
analogous
#3946B7 #6B39B7 #AA39B7
triadic
#6B39B7 #B76B39 #39B76B
tetradic
#6B39B7 #B73946 #85B739 #39B7AA
square
#6B39B7 #B73946 #85B739 #39B7AA
split-complementary
#6B39B7 #B7AA39 #46B739
monochromatic
#341C5A #502A88 #6B39B7 #8B60CD #AD8EDC

Accessibility & contrast

On white

7.26
#6B39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6B39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B39B7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39B7#FFFFFF#000000##FFFFFF
##6B39B71.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b39b7;
/* rgb */ color: rgb(107, 57, 183);
/* oklch */ color: oklch(47.7% 0.188 296.8);
Tailwind
colors: {
  custom: {
    50: '#9c73cd',
    500: '#6b39b7',
    950: '#000000',
  },
}
SCSS
$custom: #6b39b7;
$custom-light: #9c73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39b7",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 263.81,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.18776,
    "h": 296.8
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#6B39B7
secondary
#ADC785
accent
#DC4CA3
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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