#6C48BB#6C48BB

#6C48BB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.173 H 293.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6C48BB
RGBrgb(108, 72, 187)
HSLhsl(259, 46%, 51%)
HSVhsv(259, 61%, 73%)
CMYKcmyk(42.2%, 61.5%, 0%, 26.7%)
CIE-LABlab(40.26, 41.77, -55.51)
CIE-LCHlch(40.26, 69.47, 306.96°)
OKLaboklab(50.28% 0.0694 -0.1583)
OKLCHoklch(50.28% 0.173 293.7)
XYZxyz(17.4689, 11.4103, 48.2861)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48BB #97BB48
analogous
#485DBB #6C48BB #A648BB
triadic
#6C48BB #BB6C48 #48BB6C
tetradic
#6C48BB #BB485D #97BB48 #48BBA6
square
#6C48BB #BB485D #97BB48 #48BBA6
split-complementary
#6C48BB #BBA648 #5DBB48
monochromatic
#392564 #523690 #6C48BB #9075CC #B4A1DC

Accessibility & contrast

On white

6.40
#6C48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6C48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48BB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48BB#FFFFFF#000000##FFFFFF
##6C48BB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#57627B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6c48bb;
/* rgb */ color: rgb(108, 72, 187);
/* oklch */ color: oklch(50.3% 0.173 293.7);
Tailwind
colors: {
  custom: {
    50: '#9c7dd0',
    500: '#6c48bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c48bb;
$custom-light: #9c7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48bb",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 258.783,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.17282,
    "h": 293.7
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#6C48BB
secondary
#B9C996
accent
#D552AC
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6C48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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