#6D51DC#6D51DC

#6D51DC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.3% C 0.202 H 286.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6D51DC
RGBrgb(109, 81, 220)
HSLhsl(252, 67%, 59%)
HSVhsv(252, 63%, 86%)
CMYKcmyk(50.5%, 63.2%, 0%, 13.7%)
CIE-LABlab(44.66, 46.27, -67.44)
CIE-LCHlch(44.66, 81.79, 304.46°)
OKLaboklab(54.26% 0.0586 -0.1933)
OKLCHoklch(54.26% 0.202 286.9)
XYZxyz(22.1636, 14.3023, 69.2891)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D51DC #C0DC51
analogous
#517BDC #6D51DC #B251DC
triadic
#6D51DC #DC6D51 #51DC6D
tetradic
#6D51DC #DC517B #C0DC51 #51DCB2
square
#6D51DC #DC517B #C0DC51 #51DCB2
split-complementary
#6D51DC #DCB251 #7BDC51
monochromatic
#361E95 #4828C8 #6D51DC #9884E6 #C3B7F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D51DC#FFFFFF#000000##FFFFFF
##6D51DC1.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)
#006DE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#44738F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d51dc;
/* rgb */ color: rgb(109, 81, 220);
/* oklch */ color: oklch(54.3% 0.202 286.9);
Tailwind
colors: {
  custom: {
    50: '#a083e8',
    500: '#6d51dc',
    950: '#000000',
  },
}
SCSS
$custom: #6d51dc;
$custom-light: #a083e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d51dc",
  "rgb": {
    "r": 109,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 252.086,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.20201,
    "h": 286.9
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#6D51DC
secondary
#D5E0A9
accent
#E93EC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6D51DC

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

Preview Lab → · Contrast checker → · Palette generator →

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