#6C4DDB#6C4DDB

#6C4DDB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.5% C 0.206 H 287.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6C4DDB
RGBrgb(108, 77, 219)
HSLhsl(253, 66%, 58%)
HSVhsv(253, 65%, 86%)
CMYKcmyk(50.7%, 64.8%, 0%, 14.1%)
CIE-LABlab(43.67, 48.03, -68.49)
CIE-LCHlch(43.67, 83.65, 305.04°)
OKLaboklab(53.5% 0.0613 -0.1965)
OKLCHoklch(53.5% 0.206 287.3)
XYZxyz(21.6206, 13.6093, 68.4917)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DDB #BCDB4D
analogous
#4D75DB #6C4DDB #B34DDB
triadic
#6C4DDB #DB6C4D #4DDB6C
tetradic
#6C4DDB #DB4D75 #BCDB4D #4DDBB3
square
#6C4DDB #DB4D75 #BCDB4D #4DDBB3
split-complementary
#6C4DDB #DBB34D #75DB4D
monochromatic
#361D90 #4A27C3 #6C4DDB #9680E5 #C0B3F0

Accessibility & contrast

On white

5.64
#6C4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6C4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DDB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DDB#FFFFFF#000000##FFFFFF
##6C4DDB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c4ddb;
/* rgb */ color: rgb(108, 77, 219);
/* oklch */ color: oklch(53.5% 0.206 287.3);
Tailwind
colors: {
  custom: {
    50: '#9f81e7',
    500: '#6c4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ddb;
$custom-light: #9f81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ddb",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 253.099,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.20579,
    "h": 287.3
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#6C4DDB
secondary
#D2DEA6
accent
#E93FC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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