#6D48DC#6D48DC

#6D48DC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.213 H 288.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6D48DC
RGBrgb(109, 72, 220)
HSLhsl(255, 68%, 57%)
HSVhsv(255, 67%, 86%)
CMYKcmyk(50.5%, 67.3%, 0%, 13.7%)
CIE-LABlab(42.84, 51.20, -70.40)
CIE-LCHlch(42.84, 87.05, 306.03°)
OKLaboklab(52.95% 0.0672 -0.202)
OKLCHoklch(52.95% 0.213 288.4)
XYZxyz(21.5385, 13.0523, 69.0807)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48DC #B7DC48
analogous
#486DDC #6D48DC #B748DC
triadic
#6D48DC #DC6D48 #48DC6D
tetradic
#6D48DC #DC486D #B7DC48 #48DCB7
square
#6D48DC #DC486D #B7DC48 #48DCB7
split-complementary
#6D48DC #DCB748 #6DDC48
monochromatic
#381B8E #4C25C2 #6D48DC #967BE6 #BFAFF0

Accessibility & contrast

On white

5.82
#6D48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6D48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48DC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48DC#FFFFFF#000000##FFFFFF
##6D48DC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#456D8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d48dc;
/* rgb */ color: rgb(109, 72, 220);
/* oklch */ color: oklch(52.9% 0.213 288.4);
Tailwind
colors: {
  custom: {
    50: '#a07ee8',
    500: '#6d48dc',
    950: '#000000',
  },
}
SCSS
$custom: #6d48dc;
$custom-light: #a07ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48dc",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 255,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.21292,
    "h": 288.4
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#6D48DC
secondary
#CFDEA2
accent
#EB3DBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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