#6C48CB#6C48CB

#6C48CB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.193 H 290.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6C48CB
RGBrgb(108, 72, 203)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 65%, 80%)
CMYKcmyk(46.8%, 64.5%, 0%, 20.4%)
CIE-LABlab(41.43, 46.24, -62.94)
CIE-LCHlch(41.43, 78.10, 306.30°)
OKLaboklab(51.5% 0.068 -0.1801)
OKLCHoklch(51.5% 0.193 290.7)
XYZxyz(19.2782, 12.1340, 57.8147)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48CB #A7CB48
analogous
#4866CB #6C48CB #AE48CB
triadic
#6C48CB #CB6C48 #48CB6C
tetradic
#6C48CB #CB4866 #A7CB48 #48CBAE
square
#6C48CB #CB4866 #A7CB48 #48CBAE
split-complementary
#6C48CB #CBAE48 #66CB48
monochromatic
#392277 #502FA6 #6C48CB #9278D9 #B9A7E6

Accessibility & contrast

On white

6.13
#6C48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6C48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48CB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48CB#FFFFFF#000000##FFFFFF
##6C48CB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#4E6783
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6c48cb;
/* rgb */ color: rgb(108, 72, 203);
/* oklch */ color: oklch(51.5% 0.193 290.7);
Tailwind
colors: {
  custom: {
    50: '#9d7ddc',
    500: '#6c48cb',
    950: '#000000',
  },
}
SCSS
$custom: #6c48cb;
$custom-light: #9d7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48cb",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 256.489,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.19255,
    "h": 290.7
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#6C48CB
secondary
#C4D39B
accent
#DF49B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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