#6E56CD#6E56CD

#6E56CD is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.0% C 0.176 H 288.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6E56CD
RGBrgb(110, 86, 205)
HSLhsl(252, 54%, 57%)
HSVhsv(252, 58%, 80%)
CMYKcmyk(46.3%, 58%, 0%, 19.6%)
CIE-LABlab(44.77, 39.25, -58.67)
CIE-LCHlch(44.77, 70.59, 303.78°)
OKLaboklab(54.02% 0.0555 -0.1675)
OKLCHoklch(54.02% 0.176 288.3)
XYZxyz(20.7745, 14.3775, 59.4263)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E56CD #B5CD56
analogous
#567ACD #6E56CD #AA56CD
triadic
#6E56CD #CD6E56 #56CD6E
tetradic
#6E56CD #CD567A #B5CD56 #56CDAA
square
#6E56CD #CD567A #B5CD56 #56CDAA
split-complementary
#6E56CD #CDAA56 #7ACD56
monochromatic
#392682 #4E34B1 #6E56CD #9785DB #BFB4E9

Accessibility & contrast

On white

5.42
#6E56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6E56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E56CD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E56CD#FFFFFF#000000##FFFFFF
##6E56CD1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#507189
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6e56cd;
/* rgb */ color: rgb(110, 86, 205);
/* oklch */ color: oklch(54.0% 0.176 288.3);
Tailwind
colors: {
  custom: {
    50: '#9e86dd',
    500: '#6e56cd',
    950: '#000000',
  },
}
SCSS
$custom: #6e56cd;
$custom-light: #9e86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e56cd",
  "rgb": {
    "r": 110,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 252.101,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.17644,
    "h": 288.3
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#6E56CD
secondary
#CED8A7
accent
#DE4AC0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6E56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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