#6D48E5#6D48E5

#6D48E5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.223 H 287.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6D48E5
RGBrgb(109, 72, 229)
HSLhsl(254, 75%, 59%)
HSVhsv(254, 69%, 90%)
CMYKcmyk(52.4%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.57, 53.74, -74.34)
CIE-LCHlch(43.57, 91.73, 305.86°)
OKLaboklab(53.69% 0.0657 -0.2136)
OKLCHoklch(53.69% 0.223 287.1)
XYZxyz(22.7627, 13.5419, 75.5280)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48E5 #C0E548
analogous
#4872E5 #6D48E5 #BC48E5
triadic
#6D48E5 #E56D48 #48E56D
tetradic
#6D48E5 #E54872 #C0E548 #48E5BC
square
#6D48E5 #E54872 #C0E548 #48E5BC
split-complementary
#6D48E5 #E5BC48 #72E548
monochromatic
#36169C #481ED2 #6D48E5 #987EED #C3B3F4

Accessibility & contrast

On white

5.66
#6D48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6D48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48E5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48E5#FFFFFF#000000##FFFFFF
##6D48E51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#3D7191
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d48e5;
/* rgb */ color: rgb(109, 72, 229);
/* oklch */ color: oklch(53.7% 0.223 287.1);
Tailwind
colors: {
  custom: {
    50: '#a17eee',
    500: '#6d48e5',
    950: '#000000',
  },
}
SCSS
$custom: #6d48e5;
$custom-light: #a17eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48e5",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 254.14,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.22348,
    "h": 287.1
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#6D48E5
secondary
#D5E3A6
accent
#F236C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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