#6C48BF#6C48BF

#6C48BF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.178 H 292.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6C48BF
RGBrgb(108, 72, 191)
HSLhsl(258, 48%, 52%)
HSVhsv(258, 62%, 75%)
CMYKcmyk(43.5%, 62.3%, 0%, 25.1%)
CIE-LABlab(40.55, 42.88, -57.39)
CIE-LCHlch(40.55, 71.64, 306.76°)
OKLaboklab(50.58% 0.0691 -0.1638)
OKLCHoklch(50.58% 0.178 292.9)
XYZxyz(17.9031, 11.5839, 50.5728)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48BF #9BBF48
analogous
#4860BF #6C48BF #A848BF
triadic
#6C48BF #BF6C48 #48BF6C
tetradic
#6C48BF #BF4860 #9BBF48 #48BFA8
square
#6C48BF #BF4860 #9BBF48 #48BFA8
split-complementary
#6C48BF #BFA848 #60BF48
monochromatic
#392468 #523496 #6C48BF #9075CF #B5A3DF

Accessibility & contrast

On white

6.33
#6C48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6C48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48BF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48BF#FFFFFF#000000##FFFFFF
##6C48BF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#55637D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c48bf;
/* rgb */ color: rgb(108, 72, 191);
/* oklch */ color: oklch(50.6% 0.178 292.9);
Tailwind
colors: {
  custom: {
    50: '#9c7dd3',
    500: '#6c48bf',
    950: '#000000',
  },
}
SCSS
$custom: #6c48bf;
$custom-light: #9c7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48bf",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 258.151,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.17781,
    "h": 292.9
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#6C48BF
secondary
#BCCC97
accent
#D850AF
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6C48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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