#6E51CD#6E51CD

#6E51CD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.183 H 289.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6E51CD
RGBrgb(110, 81, 205)
HSLhsl(254, 55%, 56%)
HSVhsv(254, 60%, 80%)
CMYKcmyk(46.3%, 60.5%, 0%, 19.6%)
CIE-LABlab(43.66, 42.14, -60.46)
CIE-LCHlch(43.66, 73.69, 304.88°)
OKLaboklab(53.21% 0.061 -0.1728)
OKLCHoklch(53.21% 0.183 289.4)
XYZxyz(20.3891, 13.6069, 59.2979)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E51CD #B0CD51
analogous
#5172CD #6E51CD #AC51CD
triadic
#6E51CD #CD6E51 #51CD6E
tetradic
#6E51CD #CD5172 #B0CD51 #51CDAC
square
#6E51CD #CD5172 #B0CD51 #51CDAC
split-complementary
#6E51CD #CDAC51 #72CD51
monochromatic
#3A257F #4F32AF #6E51CD #9681DB #BDB0E8

Accessibility & contrast

On white

5.64
#6E51CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6E51CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E51CD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E51CD#FFFFFF#000000##FFFFFF
##6E51CD1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#506E87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6e51cd;
/* rgb */ color: rgb(110, 81, 205);
/* oklch */ color: oklch(53.2% 0.183 289.4);
Tailwind
colors: {
  custom: {
    50: '#9e83dd',
    500: '#6e51cd',
    950: '#000000',
  },
}
SCSS
$custom: #6e51cd;
$custom-light: #9e83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e51cd",
  "rgb": {
    "r": 110,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 254.032,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.18322,
    "h": 289.4
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#6E51CD
secondary
#CBD7A3
accent
#DF49BC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6E51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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