#6C4CDB#6C4CDB

#6C4CDB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.3% C 0.207 H 287.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6C4CDB
RGBrgb(108, 76, 219)
HSLhsl(253, 67%, 58%)
HSVhsv(253, 65%, 86%)
CMYKcmyk(50.7%, 65.3%, 0%, 14.1%)
CIE-LABlab(43.46, 48.58, -68.82)
CIE-LCHlch(43.46, 84.24, 305.22°)
OKLaboklab(53.35% 0.0622 -0.1974)
OKLCHoklch(53.35% 0.207 287.5)
XYZxyz(21.5512, 13.4705, 68.4686)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CDB #BBDB4C
analogous
#4C73DB #6C4CDB #B44CDB
triadic
#6C4CDB #DB6C4C #4CDB6C
tetradic
#6C4CDB #DB4C73 #BBDB4C #4CDBB4
square
#6C4CDB #DB4C73 #BBDB4C #4CDBB4
split-complementary
#6C4CDB #DBB44C #73DB4C
monochromatic
#371D90 #4A27C3 #6C4CDB #967FE5 #C0B2EF

Accessibility & contrast

On white

5.68
#6C4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6C4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CDB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CDB#FFFFFF#000000##FFFFFF
##6C4CDB1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#436F8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6c4cdb;
/* rgb */ color: rgb(108, 76, 219);
/* oklch */ color: oklch(53.3% 0.207 287.5);
Tailwind
colors: {
  custom: {
    50: '#9f80e7',
    500: '#6c4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4cdb;
$custom-light: #9f80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4cdb",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 253.427,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.207,
    "h": 287.5
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#6C4CDB
secondary
#D1DEA5
accent
#E93EC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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