#6C48E9#6C48E9

#6C48E9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.228 H 286.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6C48E9
RGBrgb(108, 72, 233)
HSLhsl(253, 79%, 60%)
HSVhsv(253, 69%, 91%)
CMYKcmyk(53.6%, 69.1%, 0%, 8.6%)
CIE-LABlab(43.81, 54.72, -76.22)
CIE-LCHlch(43.81, 93.82, 305.67°)
OKLaboklab(53.94% 0.0637 -0.2191)
OKLCHoklch(53.94% 0.228 286.2)
XYZxyz(23.2053, 13.7048, 78.4975)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48E9 #C5E948
analogous
#4875E9 #6C48E9 #BC48E9
triadic
#6C48E9 #E96C48 #48E96C
tetradic
#6C48E9 #E94875 #C5E948 #48E9BC
square
#6C48E9 #E94875 #C5E948 #48E9BC
split-complementary
#6C48E9 #E9BC48 #75E948
monochromatic
#3414A3 #451ADA #6C48E9 #987FF0 #C4B5F6

Accessibility & contrast

On white

5.61
#6C48E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6C48E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48E9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48E9#FFFFFF#000000##FFFFFF
##6C48E91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#377293
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6c48e9;
/* rgb */ color: rgb(108, 72, 233);
/* oklch */ color: oklch(53.9% 0.228 286.2);
Tailwind
colors: {
  custom: {
    50: '#a17ef1',
    500: '#6c48e9',
    950: '#000000',
  },
}
SCSS
$custom: #6c48e9;
$custom-light: #a17ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48e9",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 253.416,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.2282,
    "h": 286.2
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#6C48E9
secondary
#D8E6A7
accent
#F533CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6C48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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