#6E51E5#6E51E5

#6E51E5 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.213 H 286.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6E51E5
RGBrgb(110, 81, 229)
HSLhsl(252, 74%, 61%)
HSVhsv(252, 65%, 90%)
CMYKcmyk(52%, 64.6%, 0%, 10.2%)
CIE-LABlab(45.44, 49.06, -71.29)
CIE-LCHlch(45.44, 86.54, 304.54°)
OKLaboklab(55.06% 0.059 -0.2046)
OKLCHoklch(55.06% 0.213 286.1)
XYZxyz(23.5115, 14.8558, 75.7421)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E51E5 #C8E551
analogous
#517EE5 #6E51E5 #B851E5
triadic
#6E51E5 #E56E51 #51E56E
tetradic
#6E51E5 #E5517E #C8E551 #51E5B8
square
#6E51E5 #E5517E #C8E551 #51E5B8
split-complementary
#6E51E5 #E5B851 #7EE551
monochromatic
#3418A3 #4420D8 #6E51E5 #9A86ED #C7BBF5

Accessibility & contrast

On white

5.29
#6E51E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6E51E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E51E5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E51E5#FFFFFF#000000##FFFFFF
##6E51E51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#3F7694
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e51e5;
/* rgb */ color: rgb(110, 81, 229);
/* oklch */ color: oklch(55.1% 0.213 286.1);
Tailwind
colors: {
  custom: {
    50: '#a184ee',
    500: '#6e51e5',
    950: '#000000',
  },
}
SCSS
$custom: #6e51e5;
$custom-light: #a184ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6e51e5",
  "rgb": {
    "r": 110,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 251.757,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55058,
    "c": 0.21294,
    "h": 286.1
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#6E51E5
secondary
#DAE5AD
accent
#D60FAF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E51E5

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

Preview Lab → · Contrast checker → · Palette generator →

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