#6C48DC#6C48DC

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

Color values

HEX#6C48DC
RGBrgb(108, 72, 220)
HSLhsl(255, 68%, 57%)
HSVhsv(255, 67%, 86%)
CMYKcmyk(50.9%, 67.3%, 0%, 13.7%)
CIE-LABlab(42.75, 51.04, -70.56)
CIE-LCHlch(42.75, 87.08, 305.88°)
OKLaboklab(52.86% 0.0658 -0.2025)
OKLCHoklch(52.86% 0.213 288)
XYZxyz(21.4162, 12.9892, 69.0750)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48DC #B8DC48
analogous
#486EDC #6C48DC #B648DC
triadic
#6C48DC #DC6C48 #48DC6C
tetradic
#6C48DC #DC486E #B8DC48 #48DCB6
square
#6C48DC #DC486E #B8DC48 #48DCB6
split-complementary
#6C48DC #DCB648 #6EDC48
monochromatic
#371B8E #4B25C2 #6C48DC #957BE6 #BFAFF0

Accessibility & contrast

On white

5.84
#6C48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6C48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48DC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48DC#FFFFFF#000000##FFFFFF
##6C48DC1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c48dc;
/* rgb */ color: rgb(108, 72, 220);
/* oklch */ color: oklch(52.9% 0.213 288.0);
Tailwind
colors: {
  custom: {
    50: '#a07de8',
    500: '#6c48dc',
    950: '#000000',
  },
}
SCSS
$custom: #6c48dc;
$custom-light: #a07de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48dc",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 254.595,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.21296,
    "h": 288
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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