#6E40D0#6E40D0

#6E40D0 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.208 H 292.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6E40D0
RGBrgb(110, 64, 208)
HSLhsl(259, 61%, 53%)
HSVhsv(259, 69%, 82%)
CMYKcmyk(47.1%, 69.2%, 0%, 18.4%)
CIE-LABlab(40.47, 52.23, -67.38)
CIE-LCHlch(40.47, 85.26, 307.78°)
OKLaboklab(50.98% 0.0779 -0.1931)
OKLCHoklch(50.98% 0.208 292)
XYZxyz(19.6458, 11.5352, 60.8537)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E40D0 #A2D040
analogous
#405AD0 #6E40D0 #B640D0
triadic
#6E40D0 #D06E40 #40D06E
tetradic
#6E40D0 #D0405A #A2D040 #40D0B6
square
#6E40D0 #D0405A #A2D040 #40D0B6
split-complementary
#6E40D0 #D0B640 #5AD040
monochromatic
#3A1E78 #522AA9 #6E40D0 #9371DC #B9A2E8

Accessibility & contrast

On white

6.35
#6E40D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6E40D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E40D0
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E40D0#FFFFFF#000000##FFFFFF
##6E40D01.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#4F6483
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e40d0;
/* rgb */ color: rgb(110, 64, 208);
/* oklch */ color: oklch(51.0% 0.208 292.0);
Tailwind
colors: {
  custom: {
    50: '#a078df',
    500: '#6e40d0',
    950: '#000000',
  },
}
SCSS
$custom: #6e40d0;
$custom-light: #a078df;
$custom-dark: #000000;
JSON
{
  "hex": "#6e40d0",
  "rgb": {
    "r": 110,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 259.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50975,
    "c": 0.20825,
    "h": 292
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#6E40D0
secondary
#C1D597
accent
#E444B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6E40D0

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

Preview Lab → · Contrast checker → · Palette generator →

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