#6D4DDB#6D4DDB

#6D4DDB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.6% C 0.206 H 287.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6D4DDB
RGBrgb(109, 77, 219)
HSLhsl(254, 66%, 58%)
HSVhsv(254, 65%, 86%)
CMYKcmyk(50.2%, 64.8%, 0%, 14.1%)
CIE-LABlab(43.76, 48.21, -68.34)
CIE-LCHlch(43.76, 83.63, 305.20°)
OKLaboklab(53.58% 0.0626 -0.196)
OKLCHoklch(53.58% 0.206 287.7)
XYZxyz(21.7430, 13.6724, 68.4975)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4DDB #BBDB4D
analogous
#4D74DB #6D4DDB #B44DDB
triadic
#6D4DDB #DB6D4D #4DDB6D
tetradic
#6D4DDB #DB4D74 #BBDB4D #4DDBB4
square
#6D4DDB #DB4D74 #BBDB4D #4DDBB4
split-complementary
#6D4DDB #DBB44D #74DB4D
monochromatic
#371D90 #4B27C3 #6D4DDB #9780E5 #C1B3F0

Accessibility & contrast

On white

5.62
#6D4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6D4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4DDB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4DDB#FFFFFF#000000##FFFFFF
##6D4DDB1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#45708D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d4ddb;
/* rgb */ color: rgb(109, 77, 219);
/* oklch */ color: oklch(53.6% 0.206 287.7);
Tailwind
colors: {
  custom: {
    50: '#a081e7',
    500: '#6d4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ddb;
$custom-light: #a081e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ddb",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 253.521,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.20573,
    "h": 287.7
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#6D4DDB
secondary
#D1DEA6
accent
#E93FC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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