#6D39DC#6D39DC

#6D39DC is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.229 H 290.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6D39DC
RGBrgb(109, 57, 220)
HSLhsl(259, 70%, 54%)
HSVhsv(259, 74%, 86%)
CMYKcmyk(50.5%, 74.1%, 0%, 13.7%)
CIE-LABlab(40.15, 58.71, -74.80)
CIE-LCHlch(40.15, 95.09, 308.13°)
OKLaboklab(51.04% 0.0799 -0.2149)
OKLCHoklch(51.04% 0.229 290.4)
XYZxyz(20.6844, 11.3439, 68.7960)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39DC #A8DC39
analogous
#3957DC #6D39DC #BF39DC
triadic
#6D39DC #DC6D39 #39DC6D
tetradic
#6D39DC #DC3957 #A8DC39 #39DCBF
square
#6D39DC #DC3957 #A8DC39 #39DCBF
split-complementary
#6D39DC #DCBF39 #57DC39
monochromatic
#3A1783 #5120B7 #6D39DC #936DE5 #BAA1EE

Accessibility & contrast

On white

6.42
#6D39DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6D39DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D39DC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39DC#FFFFFF#000000##FFFFFF
##6D39DC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#466688
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d39dc;
/* rgb */ color: rgb(109, 57, 220);
/* oklch */ color: oklch(51.0% 0.229 290.4);
Tailwind
colors: {
  custom: {
    50: '#a175e8',
    500: '#6d39dc',
    950: '#000000',
  },
}
SCSS
$custom: #6d39dc;
$custom-light: #a175e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39dc",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 259.141,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.22927,
    "h": 290.4
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#6D39DC
secondary
#C5DB96
accent
#ED3BB4
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6D39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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