#6B48BC#6B48BC

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

Color values

HEX#6B48BC
RGBrgb(107, 72, 188)
HSLhsl(258, 46%, 51%)
HSVhsv(258, 62%, 74%)
CMYKcmyk(43.1%, 61.7%, 0%, 26.3%)
CIE-LABlab(40.23, 41.83, -56.15)
CIE-LCHlch(40.23, 70.02, 306.68°)
OKLaboklab(50.26% 0.0679 -0.1602)
OKLCHoklch(50.26% 0.174 293)
XYZxyz(17.4554, 11.3909, 48.8462)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48BC #99BC48
analogous
#485FBC #6B48BC #A548BC
triadic
#6B48BC #BC6B48 #48BC6B
tetradic
#6B48BC #BC485F #99BC48 #48BCA5
square
#6B48BC #BC485F #99BC48 #48BCA5
split-complementary
#6B48BC #BCA548 #5FBC48
monochromatic
#382565 #513592 #6B48BC #8F75CC #B3A2DD

Accessibility & contrast

On white

6.41
#6B48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B48BC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48BC#FFFFFF#000000##FFFFFF
##6B48BC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#54627B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b48bc;
/* rgb */ color: rgb(107, 72, 188);
/* oklch */ color: oklch(50.3% 0.174 293.0);
Tailwind
colors: {
  custom: {
    50: '#9b7dd1',
    500: '#6b48bc',
    950: '#000000',
  },
}
SCSS
$custom: #6b48bc;
$custom-light: #9b7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48bc",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 258.103,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.17403,
    "h": 293
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#6B48BC
secondary
#BACA96
accent
#D652AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6B48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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