#6D39C8#6D39C8

#6D39C8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.207 H 294.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6D39C8
RGBrgb(109, 57, 200)
HSLhsl(262, 57%, 50%)
HSVhsv(262, 72%, 78%)
CMYKcmyk(45.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(38.46, 53.42, -66.03)
CIE-LCHlch(38.46, 84.93, 308.97°)
OKLaboklab(49.32% 0.0845 -0.1892)
OKLCHoklch(49.32% 0.207 294.1)
XYZxyz(18.1923, 10.3471, 55.6710)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39C8 #94C839
analogous
#394CC8 #6D39C8 #B439C8
triadic
#6D39C8 #C86D39 #39C86D
tetradic
#6D39C8 #C8394C #94C839 #39C8B4
square
#6D39C8 #C8394C #94C839 #39C8B4
split-complementary
#6D39C8 #C8B439 #4CC839
monochromatic
#391D69 #532B99 #6D39C8 #9069D5 #B499E3

Accessibility & contrast

On white

6.84
#6D39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6D39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D39C8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39C8#FFFFFF#000000##FFFFFF
##6D39C81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#535E7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d39c8;
/* rgb */ color: rgb(109, 57, 200);
/* oklch */ color: oklch(49.3% 0.207 294.1);
Tailwind
colors: {
  custom: {
    50: '#9f74da',
    500: '#6d39c8',
    950: '#000000',
  },
}
SCSS
$custom: #6d39c8;
$custom-light: #9f74da;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39c8",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 261.818,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.20717,
    "h": 294.1
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#6D39C8
secondary
#B7CE8F
accent
#E048A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6D39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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