#6B48CF#6B48CF

#6B48CF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.197 H 289.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6B48CF
RGBrgb(107, 72, 207)
HSLhsl(256, 58%, 55%)
HSVhsv(256, 65%, 81%)
CMYKcmyk(48.3%, 65.2%, 0%, 18.8%)
CIE-LABlab(41.63, 47.18, -64.92)
CIE-LCHlch(41.63, 80.25, 306.01°)
OKLaboklab(51.72% 0.0662 -0.186)
OKLCHoklch(51.72% 0.197 289.6)
XYZxyz(19.6400, 12.2647, 60.3519)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48CF #ACCF48
analogous
#4868CF #6B48CF #AF48CF
triadic
#6B48CF #CF6B48 #48CF6B
tetradic
#6B48CF #CF4868 #ACCF48 #48CFAF
square
#6B48CF #CF4868 #ACCF48 #48CFAF
split-complementary
#6B48CF #CFAF48 #68CF48
monochromatic
#38217C #4E2DAD #6B48CF #9278DC #B9A9E8

Accessibility & contrast

On white

6.08
#6B48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6B48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48CF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48CF#FFFFFF#000000##FFFFFF
##6B48CF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#4A6985
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b48cf;
/* rgb */ color: rgb(107, 72, 207);
/* oklch */ color: oklch(51.7% 0.197 289.6);
Tailwind
colors: {
  custom: {
    50: '#9d7ddf',
    500: '#6b48cf',
    950: '#000000',
  },
}
SCSS
$custom: #6b48cf;
$custom-light: #9d7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48cf",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 255.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.19742,
    "h": 289.6
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#6B48CF
secondary
#C7D69D
accent
#E246B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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