#6C48E5#6C48E5

#6C48E5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.224 H 286.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6C48E5
RGBrgb(108, 72, 229)
HSLhsl(254, 75%, 59%)
HSVhsv(254, 69%, 90%)
CMYKcmyk(52.8%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.48, 53.58, -74.49)
CIE-LCHlch(43.48, 91.76, 305.73°)
OKLaboklab(53.61% 0.0644 -0.2141)
OKLCHoklch(53.61% 0.224 286.7)
XYZxyz(22.6404, 13.4788, 75.5223)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48E5 #C1E548
analogous
#4873E5 #6C48E5 #BB48E5
triadic
#6C48E5 #E56C48 #48E56C
tetradic
#6C48E5 #E54873 #C1E548 #48E5BB
square
#6C48E5 #E54873 #C1E548 #48E5BB
split-complementary
#6C48E5 #E5BB48 #73E548
monochromatic
#35169C #471ED2 #6C48E5 #977EED #C2B3F4

Accessibility & contrast

On white

5.68
#6C48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6C48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48E5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48E5#FFFFFF#000000##FFFFFF
##6C48E51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c48e5;
/* rgb */ color: rgb(108, 72, 229);
/* oklch */ color: oklch(53.6% 0.224 286.7);
Tailwind
colors: {
  custom: {
    50: '#a17eee',
    500: '#6c48e5',
    950: '#000000',
  },
}
SCSS
$custom: #6c48e5;
$custom-light: #a17eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48e5",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 253.758,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.22355,
    "h": 286.7
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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