#6D39C9#6D39C9

#6D39C9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.208 H 293.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6D39C9
RGBrgb(109, 57, 201)
HSLhsl(262, 57%, 51%)
HSVhsv(262, 72%, 79%)
CMYKcmyk(45.8%, 71.6%, 0%, 21.2%)
CIE-LABlab(38.54, 53.68, -66.48)
CIE-LCHlch(38.54, 85.45, 308.92°)
OKLaboklab(49.4% 0.0843 -0.1905)
OKLCHoklch(49.4% 0.208 293.9)
XYZxyz(18.3095, 10.3940, 56.2886)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39C9 #95C939
analogous
#394DC9 #6D39C9 #B539C9
triadic
#6D39C9 #C96D39 #39C96D
tetradic
#6D39C9 #C9394D #95C939 #39C9B5
square
#6D39C9 #C9394D #95C939 #39C9B5
split-complementary
#6D39C9 #C9B539 #4DC939
monochromatic
#391D6B #532A9B #6D39C9 #9069D6 #B499E3

Accessibility & contrast

On white

6.82
#6D39C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6D39C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D39C9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39C9#FFFFFF#000000##FFFFFF
##6D39C91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#525E7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d39c9;
/* rgb */ color: rgb(109, 57, 201);
/* oklch */ color: oklch(49.4% 0.208 293.9);
Tailwind
colors: {
  custom: {
    50: '#9f74da',
    500: '#6d39c9',
    950: '#000000',
  },
}
SCSS
$custom: #6d39c9;
$custom-light: #9f74da;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39c9",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 261.667,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.20829,
    "h": 293.9
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#6D39C9
secondary
#B8CF8F
accent
#E047A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6D39C9

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

Preview Lab → · Contrast checker → · Palette generator →

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