#6C48C8#6C48C8

#6C48C8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.189 H 291.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6C48C8
RGBrgb(108, 72, 200)
HSLhsl(257, 54%, 53%)
HSVhsv(257, 64%, 78%)
CMYKcmyk(46%, 64%, 0%, 21.6%)
CIE-LABlab(41.20, 45.40, -61.57)
CIE-LCHlch(41.20, 76.49, 306.40°)
OKLaboklab(51.26% 0.0683 -0.1761)
OKLCHoklch(51.26% 0.189 291.2)
XYZxyz(18.9241, 11.9923, 55.9500)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48C8 #A4C848
analogous
#4864C8 #6C48C8 #AC48C8
triadic
#6C48C8 #C86C48 #48C86C
tetradic
#6C48C8 #C84864 #A4C848 #48C8AC
square
#6C48C8 #C84864 #A4C848 #48C8AC
split-complementary
#6C48C8 #C8AC48 #64C848
monochromatic
#392373 #5131A2 #6C48C8 #9277D6 #B8A6E4

Accessibility & contrast

On white

6.18
#6C48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6C48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48C8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48C8#FFFFFF#000000##FFFFFF
##6C48C81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#506681
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c48c8;
/* rgb */ color: rgb(108, 72, 200);
/* oklch */ color: oklch(51.3% 0.189 291.2);
Tailwind
colors: {
  custom: {
    50: '#9d7dda',
    500: '#6c48c8',
    950: '#000000',
  },
}
SCSS
$custom: #6c48c8;
$custom-light: #9d7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48c8",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 256.875,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.18889,
    "h": 291.2
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#6C48C8
secondary
#C2D19A
accent
#DD4BB4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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