#6E39DB#6E39DB

#6E39DB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.228 H 291.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6E39DB
RGBrgb(110, 57, 219)
HSLhsl(260, 69%, 54%)
HSVhsv(260, 74%, 86%)
CMYKcmyk(49.8%, 74%, 0%, 14.1%)
CIE-LABlab(40.17, 58.59, -74.20)
CIE-LCHlch(40.17, 94.54, 308.30°)
OKLaboklab(51.05% 0.0816 -0.2131)
OKLCHoklch(51.05% 0.228 291)
XYZxyz(20.6761, 11.3549, 68.1064)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39DB #A6DB39
analogous
#3955DB #6E39DB #BF39DB
triadic
#6E39DB #DB6E39 #39DB6E
tetradic
#6E39DB #DB3955 #A6DB39 #39DBBF
square
#6E39DB #DB3955 #A6DB39 #39DBBF
split-complementary
#6E39DB #DBBF39 #55DB39
monochromatic
#3A1882 #5221B6 #6E39DB #946DE4 #BAA1EE

Accessibility & contrast

On white

6.42
#6E39DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6E39DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E39DB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39DB#FFFFFF#000000##FFFFFF
##6E39DB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#496588
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e39db;
/* rgb */ color: rgb(110, 57, 219);
/* oklch */ color: oklch(51.0% 0.228 291.0);
Tailwind
colors: {
  custom: {
    50: '#a275e7',
    500: '#6e39db',
    950: '#000000',
  },
}
SCSS
$custom: #6e39db;
$custom-light: #a275e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39db",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 219
  },
  "hsl": {
    "h": 259.63,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51049,
    "c": 0.22818,
    "h": 291
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#6E39DB
secondary
#C4DA95
accent
#EC3CB2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6E39DB

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

Preview Lab → · Contrast checker → · Palette generator →

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