#6D48CE#6D48CE

#6D48CE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.196 H 290.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6D48CE
RGBrgb(109, 72, 206)
HSLhsl(257, 58%, 55%)
HSVhsv(257, 65%, 81%)
CMYKcmyk(47.1%, 65%, 0%, 19.2%)
CIE-LABlab(41.75, 47.27, -64.14)
CIE-LCHlch(41.75, 79.68, 306.39°)
OKLaboklab(51.83% 0.0691 -0.1836)
OKLCHoklch(51.83% 0.196 290.6)
XYZxyz(19.7615, 12.3414, 59.7215)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48CE #A9CE48
analogous
#4866CE #6D48CE #B048CE
triadic
#6D48CE #CE6D48 #48CE6D
tetradic
#6D48CE #CE4866 #A9CE48 #48CEB0
square
#6D48CE #CE4866 #A9CE48 #48CEB0
split-complementary
#6D48CE #CEB048 #66CE48
monochromatic
#3A217B #502EAB #6D48CE #9478DB #BAA9E8

Accessibility & contrast

On white

6.05
#6D48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6D48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48CE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48CE#FFFFFF#000000##FFFFFF
##6D48CE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#4E6885
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d48ce;
/* rgb */ color: rgb(109, 72, 206);
/* oklch */ color: oklch(51.8% 0.196 290.6);
Tailwind
colors: {
  custom: {
    50: '#9e7dde',
    500: '#6d48ce',
    950: '#000000',
  },
}
SCSS
$custom: #6d48ce;
$custom-light: #9e7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48ce",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 256.567,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.19618,
    "h": 290.6
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#6D48CE
secondary
#C6D59D
accent
#E147B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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