#6D39D2#6D39D2

#6D39D2 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.218 H 292.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6D39D2
RGBrgb(109, 57, 210)
HSLhsl(260, 63%, 52%)
HSVhsv(260, 73%, 82%)
CMYKcmyk(48.1%, 72.9%, 0%, 17.6%)
CIE-LABlab(39.29, 56.06, -70.46)
CIE-LCHlch(39.29, 90.04, 308.50°)
OKLaboklab(50.17% 0.0823 -0.2022)
OKLCHoklch(50.17% 0.218 292.2)
XYZxyz(19.3994, 10.8299, 62.0285)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39D2 #9ED239
analogous
#3952D2 #6D39D2 #B939D2
triadic
#6D39D2 #D26D39 #39D26D
tetradic
#6D39D2 #D23952 #9ED239 #39D2B9
square
#6D39D2 #D23952 #9ED239 #39D2B9
split-complementary
#6D39D2 #D2B939 #52D239
monochromatic
#3A1B76 #5226A8 #6D39D2 #926BDD #B79DE9

Accessibility & contrast

On white

6.63
#6D39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6D39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D39D2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39D2#FFFFFF#000000##FFFFFF
##6D39D21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#4D6282
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6d39d2;
/* rgb */ color: rgb(109, 57, 210);
/* oklch */ color: oklch(50.2% 0.218 292.2);
Tailwind
colors: {
  custom: {
    50: '#a074e1',
    500: '#6d39d2',
    950: '#000000',
  },
}
SCSS
$custom: #6d39d2;
$custom-light: #a074e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39d2",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 260.392,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.21828,
    "h": 292.2
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#6D39D2
secondary
#BED592
accent
#E642AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6D39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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