#6E51E9#6E51E9

#6E51E9 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.218 H 285.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6E51E9
RGBrgb(110, 81, 233)
HSLhsl(251, 78%, 62%)
HSVhsv(251, 65%, 91%)
CMYKcmyk(52.8%, 65.2%, 0%, 8.6%)
CIE-LABlab(45.75, 50.22, -73.04)
CIE-LCHlch(45.75, 88.64, 304.51°)
OKLaboklab(55.38% 0.0585 -0.2098)
OKLCHoklch(55.38% 0.218 285.6)
XYZxyz(24.0764, 15.0818, 78.7174)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E51E9 #CCE951
analogous
#5180E9 #6E51E9 #BA51E9
triadic
#6E51E9 #E96E51 #51E96E
tetradic
#6E51E9 #E95180 #CCE951 #51E9BA
square
#6E51E9 #E95180 #CCE951 #51E9BA
split-complementary
#6E51E9 #E9BA51 #80E951
monochromatic
#3216AA #421CE0 #6E51E9 #9B87F0 #C9BEF7

Accessibility & contrast

On white

5.23
#6E51E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6E51E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E51E9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E51E9#FFFFFF#000000##FFFFFF
##6E51E91.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#3B7796
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e51e9;
/* rgb */ color: rgb(110, 81, 233);
/* oklch */ color: oklch(55.4% 0.218 285.6);
Tailwind
colors: {
  custom: {
    50: '#a284f1',
    500: '#6e51e9',
    950: '#000000',
  },
}
SCSS
$custom: #6e51e9;
$custom-light: #a284f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e51e9",
  "rgb": {
    "r": 110,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 251.447,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55379,
    "c": 0.21778,
    "h": 285.6
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#6E51E9
secondary
#DCE7AF
accent
#DA0CB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E51E9

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

Preview Lab → · Contrast checker → · Palette generator →

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