#6C4CD9#6C4CD9

#6C4CD9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.2% C 0.205 H 287.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6C4CD9
RGBrgb(108, 76, 217)
HSLhsl(254, 65%, 57%)
HSVhsv(254, 65%, 85%)
CMYKcmyk(50.2%, 65%, 0%, 14.9%)
CIE-LABlab(43.31, 48.01, -67.93)
CIE-LCHlch(43.31, 83.18, 305.25°)
OKLaboklab(53.19% 0.0625 -0.1948)
OKLCHoklch(53.19% 0.205 287.8)
XYZxyz(21.2895, 13.3658, 67.0903)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CD9 #B9D94C
analogous
#4C73D9 #6C4CD9 #B34CD9
triadic
#6C4CD9 #D96C4C #4CD96C
tetradic
#6C4CD9 #D94C73 #B9D94C #4CD9B3
square
#6C4CD9 #D94C73 #B9D94C #4CD9B3
split-complementary
#6C4CD9 #D9B34C #73D94C
monochromatic
#371E8D #4B29BF #6C4CD9 #957EE4 #BFB1EE

Accessibility & contrast

On white

5.72
#6C4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6C4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CD9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CD9#FFFFFF#000000##FFFFFF
##6C4CD91.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#456F8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c4cd9;
/* rgb */ color: rgb(108, 76, 217);
/* oklch */ color: oklch(53.2% 0.205 287.8);
Tailwind
colors: {
  custom: {
    50: '#9f80e6',
    500: '#6c4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #6c4cd9;
$custom-light: #9f80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4cd9",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 253.617,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53189,
    "c": 0.20458,
    "h": 287.8
  },
  "luminance": 0.13367
}

Semantic roles & 50–950 ramp

primary
#6C4CD9
secondary
#D0DDA4
accent
#E840C2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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