#6B48BB#6B48BB

#6B48BB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.173 H 293.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6B48BB
RGBrgb(107, 72, 187)
HSLhsl(258, 46%, 51%)
HSVhsv(258, 61%, 73%)
CMYKcmyk(42.8%, 61.5%, 0%, 26.7%)
CIE-LABlab(40.16, 41.55, -55.68)
CIE-LCHlch(40.16, 69.48, 306.73°)
OKLaboklab(50.18% 0.068 -0.1588)
OKLCHoklch(50.18% 0.173 293.2)
XYZxyz(17.3480, 11.3479, 48.2804)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48BB #98BB48
analogous
#485EBB #6B48BB #A448BB
triadic
#6B48BB #BB6B48 #48BB6B
tetradic
#6B48BB #BB485E #98BB48 #48BBA4
square
#6B48BB #BB485E #98BB48 #48BBA4
split-complementary
#6B48BB #BBA448 #5EBB48
monochromatic
#382564 #513690 #6B48BB #8F75CC #B3A1DC

Accessibility & contrast

On white

6.42
#6B48BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6B48BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48BB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48BB#FFFFFF#000000##FFFFFF
##6B48BB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b48bb;
/* rgb */ color: rgb(107, 72, 187);
/* oklch */ color: oklch(50.2% 0.173 293.2);
Tailwind
colors: {
  custom: {
    50: '#9b7dd0',
    500: '#6b48bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b48bb;
$custom-light: #9b7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48bb",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 258.261,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50184,
    "c": 0.17277,
    "h": 293.2
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#6B48BB
secondary
#B9C996
accent
#D552AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6B48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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