#6C4DDF#6C4DDF

#6C4DDF is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.8% C 0.211 H 286.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6C4DDF
RGBrgb(108, 77, 223)
HSLhsl(253, 70%, 59%)
HSVhsv(253, 65%, 87%)
CMYKcmyk(51.6%, 65.5%, 0%, 12.5%)
CIE-LABlab(43.98, 49.19, -70.27)
CIE-LCHlch(43.98, 85.77, 304.99°)
OKLaboklab(53.82% 0.0608 -0.2017)
OKLCHoklch(53.82% 0.211 286.8)
XYZxyz(22.1536, 13.8225, 71.2984)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DDF #C0DF4D
analogous
#4D77DF #6C4DDF #B54DDF
triadic
#6C4DDF #DF6C4D #4DDF6C
tetradic
#6C4DDF #DF4D77 #C0DF4D #4DDFB5
square
#6C4DDF #DF4D77 #C0DF4D #4DDFB5
split-complementary
#6C4DDF #DFB54D #77DF4D
monochromatic
#351B97 #4824CA #6C4DDF #9781E8 #C2B5F2

Accessibility & contrast

On white

5.58
#6C4DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6C4DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DDF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DDF#FFFFFF#000000##FFFFFF
##6C4DDF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#40718F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6c4ddf;
/* rgb */ color: rgb(108, 77, 223);
/* oklch */ color: oklch(53.8% 0.211 286.8);
Tailwind
colors: {
  custom: {
    50: '#a081ea',
    500: '#6c4ddf',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ddf;
$custom-light: #a081ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ddf",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 252.74,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53816,
    "c": 0.21063,
    "h": 286.8
  },
  "luminance": 0.13824
}

Semantic roles & 50–950 ramp

primary
#6C4DDF
secondary
#D4E1A7
accent
#EC3BC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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