#6C48CC#6C48CC

#6C48CC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.194 H 290.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6C48CC
RGBrgb(108, 72, 204)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 65%, 80%)
CMYKcmyk(47.1%, 64.7%, 0%, 20%)
CIE-LABlab(41.50, 46.52, -63.39)
CIE-LCHlch(41.50, 78.63, 306.27°)
OKLaboklab(51.57% 0.0679 -0.1815)
OKLCHoklch(51.57% 0.194 290.5)
XYZxyz(19.3977, 12.1818, 58.4443)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48CC #A8CC48
analogous
#4866CC #6C48CC #AE48CC
triadic
#6C48CC #CC6C48 #48CC6C
tetradic
#6C48CC #CC4866 #A8CC48 #48CCAE
square
#6C48CC #CC4866 #A8CC48 #48CCAE
split-complementary
#6C48CC #CCAE48 #66CC48
monochromatic
#392178 #502FA8 #6C48CC #9278D9 #B9A8E7

Accessibility & contrast

On white

6.11
#6C48CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6C48CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48CC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48CC#FFFFFF#000000##FFFFFF
##6C48CC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#4E6884
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6c48cc;
/* rgb */ color: rgb(108, 72, 204);
/* oklch */ color: oklch(51.6% 0.194 290.5);
Tailwind
colors: {
  custom: {
    50: '#9e7ddc',
    500: '#6c48cc',
    950: '#000000',
  },
}
SCSS
$custom: #6c48cc;
$custom-light: #9e7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48cc",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 256.364,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.19377,
    "h": 290.5
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#6C48CC
secondary
#C5D49C
accent
#E048B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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