#6D56CD#6D56CD

#6D56CD is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.9% C 0.176 H 287.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6D56CD
RGBrgb(109, 86, 205)
HSLhsl(252, 54%, 57%)
HSVhsv(252, 58%, 80%)
CMYKcmyk(46.8%, 58%, 0%, 19.6%)
CIE-LABlab(44.68, 39.04, -58.82)
CIE-LCHlch(44.68, 70.59, 303.57°)
OKLaboklab(53.94% 0.0542 -0.168)
OKLCHoklch(53.94% 0.176 287.9)
XYZxyz(20.6507, 14.3137, 59.4205)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D56CD #B6CD56
analogous
#567ACD #6D56CD #A956CD
triadic
#6D56CD #CD6D56 #56CD6D
tetradic
#6D56CD #CD567A #B6CD56 #56CDA9
square
#6D56CD #CD567A #B6CD56 #56CDA9
split-complementary
#6D56CD #CDA956 #7ACD56
monochromatic
#382682 #4D34B1 #6D56CD #9685DB #BFB4E9

Accessibility & contrast

On white

5.44
#6D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6D56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D56CD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D56CD#FFFFFF#000000##FFFFFF
##6D56CD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#4E7189
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d56cd;
/* rgb */ color: rgb(109, 86, 205);
/* oklch */ color: oklch(53.9% 0.176 287.9);
Tailwind
colors: {
  custom: {
    50: '#9d86dd',
    500: '#6d56cd',
    950: '#000000',
  },
}
SCSS
$custom: #6d56cd;
$custom-light: #9d86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d56cd",
  "rgb": {
    "r": 109,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 251.597,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.17649,
    "h": 287.9
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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