#6D39C2#6D39C2

#6D39C2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.200 H 295.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6D39C2
RGBrgb(109, 57, 194)
HSLhsl(263, 55%, 49%)
HSVhsv(263, 71%, 76%)
CMYKcmyk(43.8%, 70.6%, 0%, 23.9%)
CIE-LABlab(37.97, 51.84, -63.33)
CIE-LCHlch(37.97, 81.84, 309.30°)
OKLaboklab(48.82% 0.0857 -0.1812)
OKLCHoklch(48.82% 0.2 295.3)
XYZxyz(17.5048, 10.0721, 52.0503)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39C2 #8EC239
analogous
#3949C2 #6D39C2 #B239C2
triadic
#6D39C2 #C26D39 #39C26D
tetradic
#6D39C2 #C23949 #8EC239 #39C2B2
square
#6D39C2 #C23949 #8EC239 #39C2B2
split-complementary
#6D39C2 #C2B239 #49C239
monochromatic
#381D63 #522B93 #6D39C2 #8F66D2 #B295E0

Accessibility & contrast

On white

6.97
#6D39C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6D39C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D39C2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39C2#FFFFFF#000000##FFFFFF
##6D39C21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#565B7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d39c2;
/* rgb */ color: rgb(109, 57, 194);
/* oklch */ color: oklch(48.8% 0.200 295.3);
Tailwind
colors: {
  custom: {
    50: '#9e74d5',
    500: '#6d39c2',
    950: '#000000',
  },
}
SCSS
$custom: #6d39c2;
$custom-light: #9e74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39c2",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 262.774,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.20044,
    "h": 295.3
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#6D39C2
secondary
#B3CB8B
accent
#DE4AA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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