#6D39C7#6D39C7

#6D39C7 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.206 H 294.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6D39C7
RGBrgb(109, 57, 199)
HSLhsl(262, 56%, 50%)
HSVhsv(262, 71%, 78%)
CMYKcmyk(45.2%, 71.4%, 0%, 22%)
CIE-LABlab(38.38, 53.15, -65.58)
CIE-LCHlch(38.38, 84.42, 309.02°)
OKLaboklab(49.24% 0.0847 -0.1878)
OKLCHoklch(49.24% 0.206 294.3)
XYZxyz(18.0758, 10.3005, 55.0576)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39C7 #93C739
analogous
#394CC7 #6D39C7 #B439C7
triadic
#6D39C7 #C76D39 #39C76D
tetradic
#6D39C7 #C7394C #93C739 #39C7B4
square
#6D39C7 #C7394C #93C739 #39C7B4
split-complementary
#6D39C7 #C7B439 #4CC739
monochromatic
#391D68 #532B98 #6D39C7 #9069D4 #B398E2

Accessibility & contrast

On white

6.86
#6D39C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6D39C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D39C7
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39C7#FFFFFF#000000##FFFFFF
##6D39C71.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#535D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6d39c7;
/* rgb */ color: rgb(109, 57, 199);
/* oklch */ color: oklch(49.2% 0.206 294.3);
Tailwind
colors: {
  custom: {
    50: '#9f74d9',
    500: '#6d39c7',
    950: '#000000',
  },
}
SCSS
$custom: #6d39c7;
$custom-light: #9f74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39c7",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 261.972,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.20604,
    "h": 294.3
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#6D39C7
secondary
#B6CE8E
accent
#DF49A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6D39C7

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

Preview Lab → · Contrast checker → · Palette generator →

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