#6C48CA#6C48CA

#6C48CA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.191 H 290.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6C48CA
RGBrgb(108, 72, 202)
HSLhsl(257, 55%, 54%)
HSVhsv(257, 64%, 79%)
CMYKcmyk(46.5%, 64.4%, 0%, 20.8%)
CIE-LABlab(41.35, 45.96, -62.48)
CIE-LCHlch(41.35, 77.56, 306.34°)
OKLaboklab(51.42% 0.0681 -0.1788)
OKLCHoklch(51.42% 0.191 290.9)
XYZxyz(19.1594, 12.0864, 57.1891)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48CA #A6CA48
analogous
#4865CA #6C48CA #AD48CA
triadic
#6C48CA #CA6C48 #48CA6C
tetradic
#6C48CA #CA4865 #A6CA48 #48CAAD
square
#6C48CA #CA4865 #A6CA48 #48CAAD
split-complementary
#6C48CA #CAAD48 #65CA48
monochromatic
#392276 #5030A5 #6C48CA #9277D8 #B8A7E5

Accessibility & contrast

On white

6.15
#6C48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6C48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48CA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48CA#FFFFFF#000000##FFFFFF
##6C48CA1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#4F6782
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6c48ca;
/* rgb */ color: rgb(108, 72, 202);
/* oklch */ color: oklch(51.4% 0.191 290.9);
Tailwind
colors: {
  custom: {
    50: '#9d7ddb',
    500: '#6c48ca',
    950: '#000000',
  },
}
SCSS
$custom: #6c48ca;
$custom-light: #9d7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48ca",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 256.615,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.19133,
    "h": 290.9
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#6C48CA
secondary
#C3D39B
accent
#DE49B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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