#6E39D2#6E39D2

#6E39D2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.218 H 292.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6E39D2
RGBrgb(110, 57, 210)
HSLhsl(261, 63%, 52%)
HSVhsv(261, 73%, 82%)
CMYKcmyk(47.6%, 72.9%, 0%, 17.6%)
CIE-LABlab(39.40, 56.22, -70.28)
CIE-LCHlch(39.40, 90.00, 308.65°)
OKLaboklab(50.27% 0.0838 -0.2016)
OKLCHoklch(50.27% 0.218 292.6)
XYZxyz(19.5231, 10.8937, 62.0343)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39D2 #9DD239
analogous
#3951D2 #6E39D2 #BA39D2
triadic
#6E39D2 #D26E39 #39D26E
tetradic
#6E39D2 #D23951 #9DD239 #39D2BA
square
#6E39D2 #D23951 #9DD239 #39D2BA
split-complementary
#6E39D2 #D2BA39 #51D239
monochromatic
#3A1B76 #5326A8 #6E39D2 #936BDD #B79DE9

Accessibility & contrast

On white

6.61
#6E39D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6E39D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E39D2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39D2#FFFFFF#000000##FFFFFF
##6E39D21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#4F6282
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6e39d2;
/* rgb */ color: rgb(110, 57, 210);
/* oklch */ color: oklch(50.3% 0.218 292.6);
Tailwind
colors: {
  custom: {
    50: '#a074e1',
    500: '#6e39d2',
    950: '#000000',
  },
}
SCSS
$custom: #6e39d2;
$custom-light: #a074e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39d2",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 260.784,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.2183,
    "h": 292.6
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E39D2

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

Preview Lab → · Contrast checker → · Palette generator →

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