#6D39D1#6D39D1

#6D39D1 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.217 H 292.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#6D39D1
RGBrgb(109, 57, 209)
HSLhsl(261, 62%, 52%)
HSVhsv(261, 73%, 82%)
CMYKcmyk(47.8%, 72.7%, 0%, 18%)
CIE-LABlab(39.21, 55.79, -70.03)
CIE-LCHlch(39.21, 89.53, 308.55°)
OKLaboklab(50.08% 0.0826 -0.2009)
OKLCHoklch(50.08% 0.217 292.3)
XYZxyz(19.2752, 10.7802, 61.3744)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39D1 #9DD139
analogous
#3951D1 #6D39D1 #B939D1
triadic
#6D39D1 #D16D39 #39D16D
tetradic
#6D39D1 #D13951 #9DD139 #39D1B9
square
#6D39D1 #D13951 #9DD139 #39D1B9
split-complementary
#6D39D1 #D1B939 #51D139
monochromatic
#3A1B75 #5227A6 #6D39D1 #926BDD #B69CE8

Accessibility & contrast

On white

6.65
#6D39D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6D39D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D39D1
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39D1#FFFFFF#000000##FFFFFF
##6D39D11.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#4D6182
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d39d1;
/* rgb */ color: rgb(109, 57, 209);
/* oklch */ color: oklch(50.1% 0.217 292.3);
Tailwind
colors: {
  custom: {
    50: '#a074e0',
    500: '#6d39d1',
    950: '#000000',
  },
}
SCSS
$custom: #6d39d1;
$custom-light: #a074e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39d1",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 260.526,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.21717,
    "h": 292.3
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#6D39D1
secondary
#BDD492
accent
#E542AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6D39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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