#6B48BF#6B48BF

#6B48BF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.178 H 292.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6B48BF
RGBrgb(107, 72, 191)
HSLhsl(258, 48%, 52%)
HSVhsv(258, 62%, 75%)
CMYKcmyk(44%, 62.3%, 0%, 25.1%)
CIE-LABlab(40.45, 42.67, -57.56)
CIE-LCHlch(40.45, 71.65, 306.55°)
OKLaboklab(50.48% 0.0677 -0.1644)
OKLCHoklch(50.48% 0.178 292.4)
XYZxyz(17.7822, 11.5216, 50.5671)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48BF #9CBF48
analogous
#4861BF #6B48BF #A748BF
triadic
#6B48BF #BF6B48 #48BF6B
tetradic
#6B48BF #BF4861 #9CBF48 #48BFA7
square
#6B48BF #BF4861 #9CBF48 #48BFA7
split-complementary
#6B48BF #BFA748 #61BF48
monochromatic
#382468 #513496 #6B48BF #9075CF #B4A3DF

Accessibility & contrast

On white

6.36
#6B48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6B48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48BF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48BF#FFFFFF#000000##FFFFFF
##6B48BF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#53637D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b48bf;
/* rgb */ color: rgb(107, 72, 191);
/* oklch */ color: oklch(50.5% 0.178 292.4);
Tailwind
colors: {
  custom: {
    50: '#9b7dd3',
    500: '#6b48bf',
    950: '#000000',
  },
}
SCSS
$custom: #6b48bf;
$custom-light: #9b7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48bf",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 257.647,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.17777,
    "h": 292.4
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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