#6E51F4#6E51F4

#6E51F4 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.231 H 284.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6E51F4
RGBrgb(110, 81, 244)
HSLhsl(251, 88%, 64%)
HSVhsv(251, 67%, 96%)
CMYKcmyk(54.9%, 66.8%, 0%, 4.3%)
CIE-LABlab(46.62, 53.40, -77.80)
CIE-LCHlch(46.62, 94.37, 304.46°)
OKLaboklab(56.28% 0.0571 -0.2237)
OKLCHoklch(56.28% 0.231 284.3)
XYZxyz(25.6970, 15.7300, 87.2525)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E51F4 #D7F451
analogous
#5185F4 #6E51F4 #BF51F4
triadic
#6E51F4 #F46E51 #51F46E
tetradic
#6E51F4 #F45185 #D7F451 #51F4BF
square
#6E51F4 #F45185 #D7F451 #51F4BF
split-complementary
#6E51F4 #F4BF51 #85F451
monochromatic
#2C0CBF #3E17F0 #6E51F4 #9E8BF8 #CEC4FB

Accessibility & contrast

On white

5.06
#6E51F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6E51F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E51F4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E51F4#FFFFFF#000000##FFFFFF
##6E51F41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#2E7B9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6e51f4;
/* rgb */ color: rgb(110, 81, 244);
/* oklch */ color: oklch(56.3% 0.231 284.3);
Tailwind
colors: {
  custom: {
    50: '#a384f9',
    500: '#6e51f4',
    950: '#000000',
  },
}
SCSS
$custom: #6e51f4;
$custom-light: #a384f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e51f4",
  "rgb": {
    "r": 110,
    "g": 81,
    "b": 244
  },
  "hsl": {
    "h": 250.675,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.23091,
    "h": 284.3
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#6E51F4
secondary
#E3EDB4
accent
#E501BC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6E51F4

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

Preview Lab → · Contrast checker → · Palette generator →

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