#6D56CB#6D56CB

#6D56CB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.174 H 288.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6D56CB
RGBrgb(109, 86, 203)
HSLhsl(252, 53%, 57%)
HSVhsv(252, 58%, 80%)
CMYKcmyk(46.3%, 57.6%, 0%, 20.4%)
CIE-LABlab(44.54, 38.45, -57.89)
CIE-LCHlch(44.54, 69.50, 303.60°)
OKLaboklab(53.79% 0.0542 -0.1652)
OKLCHoklch(53.79% 0.174 288.2)
XYZxyz(20.4109, 14.2178, 58.1572)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D56CB #B4CB56
analogous
#567ACB #6D56CB #A856CB
triadic
#6D56CB #CB6D56 #56CB6D
tetradic
#6D56CB #CB567A #B4CB56 #56CBA8
square
#6D56CB #CB567A #B4CB56 #56CBA8
split-complementary
#6D56CB #CBA856 #7ACB56
monochromatic
#39277F #4D36AE #6D56CB #9585D9 #BEB4E8

Accessibility & contrast

On white

5.46
#6D56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6D56CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D56CB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D56CB#FFFFFF#000000##FFFFFF
##6D56CB1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#4F7088
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6d56cb;
/* rgb */ color: rgb(109, 86, 203);
/* oklch */ color: oklch(53.8% 0.174 288.2);
Tailwind
colors: {
  custom: {
    50: '#9d86dc',
    500: '#6d56cb',
    950: '#000000',
  },
}
SCSS
$custom: #6d56cb;
$custom-light: #9d86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d56cb",
  "rgb": {
    "r": 109,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 251.795,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.17389,
    "h": 288.2
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#6D56CB
secondary
#CDD6A6
accent
#DC4BC0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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