#6D39B7#6D39B7

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

Color values

HEX#6D39B7
RGBrgb(109, 57, 183)
HSLhsl(265, 53%, 47%)
HSVhsv(265, 69%, 72%)
CMYKcmyk(40.4%, 68.9%, 0%, 28.2%)
CIE-LABlab(37.11, 48.96, -58.27)
CIE-LCHlch(37.11, 76.11, 310.04°)
OKLaboklab(47.94% 0.0876 -0.1663)
OKLCHoklch(47.94% 0.188 297.8)
XYZxyz(16.3149, 9.5961, 45.7832)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39B7 #83B739
analogous
#3944B7 #6D39B7 #AC39B7
triadic
#6D39B7 #B76D39 #39B76D
tetradic
#6D39B7 #B73944 #83B739 #39B7AC
square
#6D39B7 #B73944 #83B739 #39B7AC
split-complementary
#6D39B7 #B7AC39 #44B739
monochromatic
#351C5A #512A88 #6D39B7 #8D60CD #AE8EDC

Accessibility & contrast

On white

7.19
#6D39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6D39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D39B7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39B7#FFFFFF#000000##FFFFFF
##6D39B71.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#5B5773
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6d39b7;
/* rgb */ color: rgb(109, 57, 183);
/* oklch */ color: oklch(47.9% 0.188 297.8);
Tailwind
colors: {
  custom: {
    50: '#9d73cd',
    500: '#6d39b7',
    950: '#000000',
  },
}
SCSS
$custom: #6d39b7;
$custom-light: #9d73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39b7",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 264.762,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47938,
    "c": 0.18799,
    "h": 297.8
  },
  "luminance": 0.09596
}

Semantic roles & 50–950 ramp

primary
#6D39B7
secondary
#ACC785
accent
#DC4CA0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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