#6D48CF#6D48CF

#6D48CF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.9% C 0.197 H 290.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6D48CF
RGBrgb(109, 72, 207)
HSLhsl(256, 58%, 55%)
HSVhsv(256, 65%, 81%)
CMYKcmyk(47.3%, 65.2%, 0%, 18.8%)
CIE-LABlab(41.83, 47.55, -64.59)
CIE-LCHlch(41.83, 80.21, 306.36°)
OKLaboklab(51.9% 0.0689 -0.185)
OKLCHoklch(51.9% 0.197 290.4)
XYZxyz(19.8833, 12.3902, 60.3633)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48CF #AACF48
analogous
#4867CF #6D48CF #B048CF
triadic
#6D48CF #CF6D48 #48CF6D
tetradic
#6D48CF #CF4867 #AACF48 #48CFB0
square
#6D48CF #CF4867 #AACF48 #48CFB0
split-complementary
#6D48CF #CFB048 #67CF48
monochromatic
#3A217C #502DAD #6D48CF #9478DC #BAA9E8

Accessibility & contrast

On white

6.04
#6D48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6D48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48CF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48CF#FFFFFF#000000##FFFFFF
##6D48CF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#4E6985
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d48cf;
/* rgb */ color: rgb(109, 72, 207);
/* oklch */ color: oklch(51.9% 0.197 290.4);
Tailwind
colors: {
  custom: {
    50: '#9f7ddf',
    500: '#6d48cf',
    950: '#000000',
  },
}
SCSS
$custom: #6d48cf;
$custom-light: #9f7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48cf",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 256.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.1974,
    "h": 290.4
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#6D48CF
secondary
#C6D69D
accent
#E246B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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