#6D48D9#6D48D9

#6D48D9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.209 H 288.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6D48D9
RGBrgb(109, 72, 217)
HSLhsl(255, 66%, 57%)
HSVhsv(255, 67%, 85%)
CMYKcmyk(49.8%, 66.8%, 0%, 14.9%)
CIE-LABlab(42.60, 50.36, -69.08)
CIE-LCHlch(42.60, 85.48, 306.09°)
OKLaboklab(52.7% 0.0676 -0.1981)
OKLCHoklch(52.7% 0.209 288.8)
XYZxyz(21.1448, 12.8948, 67.0070)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48D9 #B4D948
analogous
#486CD9 #6D48D9 #B548D9
triadic
#6D48D9 #D96D48 #48D96D
tetradic
#6D48D9 #D9486C #B4D948 #48D9B5
square
#6D48D9 #D9486C #B4D948 #48D9B5
split-complementary
#6D48D9 #D9B548 #6CD948
monochromatic
#391D8A #4D27BD #6D48D9 #957BE4 #BEADEE

Accessibility & contrast

On white

5.87
#6D48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6D48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48D9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48D9#FFFFFF#000000##FFFFFF
##6D48D91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#476C8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d48d9;
/* rgb */ color: rgb(109, 72, 217);
/* oklch */ color: oklch(52.7% 0.209 288.8);
Tailwind
colors: {
  custom: {
    50: '#a07de6',
    500: '#6d48d9',
    950: '#000000',
  },
}
SCSS
$custom: #6d48d9;
$custom-light: #a07de6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48d9",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 255.31,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.20936,
    "h": 288.8
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#6D48D9
secondary
#CDDCA1
accent
#E93FBD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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