#6D48C8#6D48C8

#6D48C8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.189 H 291.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6D48C8
RGBrgb(109, 72, 200)
HSLhsl(257, 54%, 53%)
HSVhsv(257, 64%, 78%)
CMYKcmyk(45.5%, 64%, 0%, 21.6%)
CIE-LABlab(41.30, 45.59, -61.40)
CIE-LCHlch(41.30, 76.47, 306.60°)
OKLaboklab(51.36% 0.0697 -0.1756)
OKLCHoklch(51.36% 0.189 291.6)
XYZxyz(19.0465, 12.0554, 55.9558)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48C8 #A3C848
analogous
#4863C8 #6D48C8 #AD48C8
triadic
#6D48C8 #C86D48 #48C86D
tetradic
#6D48C8 #C84863 #A3C848 #48C8AD
square
#6D48C8 #C84863 #A3C848 #48C8AD
split-complementary
#6D48C8 #C8AD48 #63C848
monochromatic
#3A2373 #5131A2 #6D48C8 #9377D6 #B8A6E4

Accessibility & contrast

On white

6.16
#6D48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6D48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48C8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48C8#FFFFFF#000000##FFFFFF
##6D48C81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#526681
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d48c8;
/* rgb */ color: rgb(109, 72, 200);
/* oklch */ color: oklch(51.4% 0.189 291.6);
Tailwind
colors: {
  custom: {
    50: '#9e7dda',
    500: '#6d48c8',
    950: '#000000',
  },
}
SCSS
$custom: #6d48c8;
$custom-light: #9e7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48c8",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 257.344,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.1889,
    "h": 291.6
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#6D48C8
secondary
#C2D19A
accent
#DD4BB3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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