#6E39DC#6E39DC

#6E39DC is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.229 H 290.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6E39DC
RGBrgb(110, 57, 220)
HSLhsl(260, 70%, 54%)
HSVhsv(260, 74%, 86%)
CMYKcmyk(50%, 74.1%, 0%, 13.7%)
CIE-LABlab(40.26, 58.85, -74.63)
CIE-LCHlch(40.26, 95.04, 308.26°)
OKLaboklab(51.14% 0.0814 -0.2143)
OKLCHoklch(51.14% 0.229 290.8)
XYZxyz(20.8081, 11.4077, 68.8018)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39DC #A7DC39
analogous
#3956DC #6E39DC #BF39DC
triadic
#6E39DC #DC6E39 #39DC6E
tetradic
#6E39DC #DC3956 #A7DC39 #39DCBF
square
#6E39DC #DC3956 #A7DC39 #39DCBF
split-complementary
#6E39DC #DCBF39 #56DC39
monochromatic
#3A1783 #5220B7 #6E39DC #946DE5 #BAA1EE

Accessibility & contrast

On white

6.40
#6E39DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6E39DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E39DC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39DC#FFFFFF#000000##FFFFFF
##6E39DC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#486588
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e39dc;
/* rgb */ color: rgb(110, 57, 220);
/* oklch */ color: oklch(51.1% 0.229 290.8);
Tailwind
colors: {
  custom: {
    50: '#a275e8',
    500: '#6e39dc',
    950: '#000000',
  },
}
SCSS
$custom: #6e39dc;
$custom-light: #a275e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39dc",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 259.509,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51137,
    "c": 0.22926,
    "h": 290.8
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#6E39DC
secondary
#C4DB96
accent
#ED3BB3
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6E39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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