#6D39C1#6D39C1

#6D39C1 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.199 H 295.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6D39C1
RGBrgb(109, 57, 193)
HSLhsl(263, 54%, 49%)
HSVhsv(263, 70%, 76%)
CMYKcmyk(43.5%, 70.5%, 0%, 24.3%)
CIE-LABlab(37.89, 51.58, -62.87)
CIE-LCHlch(37.89, 81.32, 309.36°)
OKLaboklab(48.74% 0.0859 -0.1799)
OKLCHoklch(48.74% 0.199 295.5)
XYZxyz(17.3929, 10.0273, 51.4608)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39C1 #8DC139
analogous
#3949C1 #6D39C1 #B139C1
triadic
#6D39C1 #C16D39 #39C16D
tetradic
#6D39C1 #C13949 #8DC139 #39C1B1
square
#6D39C1 #C13949 #8DC139 #39C1B1
split-complementary
#6D39C1 #C1B139 #49C139
monochromatic
#381D63 #522B92 #6D39C1 #8F66D2 #B195E0

Accessibility & contrast

On white

6.99
#6D39C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D39C1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39C1#FFFFFF#000000##FFFFFF
##6D39C11.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#565B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d39c1;
/* rgb */ color: rgb(109, 57, 193);
/* oklch */ color: oklch(48.7% 0.199 295.5);
Tailwind
colors: {
  custom: {
    50: '#9e74d5',
    500: '#6d39c1',
    950: '#000000',
  },
}
SCSS
$custom: #6d39c1;
$custom-light: #9e74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39c1",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 262.941,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48741,
    "c": 0.19932,
    "h": 295.5
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#6D39C1
secondary
#B2CB8B
accent
#DE4AA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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