#6D48CD#6D48CD

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

Color values

HEX#6D48CD
RGBrgb(109, 72, 205)
HSLhsl(257, 57%, 54%)
HSVhsv(257, 65%, 80%)
CMYKcmyk(46.8%, 64.9%, 0%, 19.6%)
CIE-LABlab(41.68, 46.99, -63.68)
CIE-LCHlch(41.68, 79.14, 306.42°)
OKLaboklab(51.75% 0.0692 -0.1823)
OKLCHoklch(51.75% 0.195 290.8)
XYZxyz(19.6404, 12.2930, 59.0837)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48CD #A8CD48
analogous
#4866CD #6D48CD #B048CD
triadic
#6D48CD #CD6D48 #48CD6D
tetradic
#6D48CD #CD4866 #A8CD48 #48CDB0
square
#6D48CD #CD4866 #A8CD48 #48CDB0
split-complementary
#6D48CD #CDB048 #66CD48
monochromatic
#3A2179 #512EA9 #6D48CD #9378DA #BAA8E7

Accessibility & contrast

On white

6.07
#6D48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6D48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48CD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48CD#FFFFFF#000000##FFFFFF
##6D48CD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#4F6884
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d48cd;
/* rgb */ color: rgb(109, 72, 205);
/* oklch */ color: oklch(51.7% 0.195 290.8);
Tailwind
colors: {
  custom: {
    50: '#9e7ddd',
    500: '#6d48cd',
    950: '#000000',
  },
}
SCSS
$custom: #6d48cd;
$custom-light: #9e7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48cd",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 256.692,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51747,
    "c": 0.19498,
    "h": 290.8
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#6D48CD
secondary
#C5D59C
accent
#E047B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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