#6C48DA#6C48DA

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

Color values

HEX#6C48DA
RGBrgb(108, 72, 218)
HSLhsl(255, 66%, 57%)
HSVhsv(255, 67%, 85%)
CMYKcmyk(50.5%, 67%, 0%, 14.5%)
CIE-LABlab(42.59, 50.47, -69.68)
CIE-LCHlch(42.59, 86.04, 305.92°)
OKLaboklab(52.69% 0.0661 -0.1999)
OKLCHoklch(52.69% 0.211 288.3)
XYZxyz(21.1529, 12.8839, 67.6883)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48DA #B6DA48
analogous
#486DDA #6C48DA #B548DA
triadic
#6C48DA #DA6C48 #48DA6C
tetradic
#6C48DA #DA486D #B6DA48 #48DAB5
square
#6C48DA #DA486D #B6DA48 #48DAB5
split-complementary
#6C48DA #DAB548 #6DDA48
monochromatic
#381C8B #4C26BE #6C48DA #957BE4 #BEAEEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C48DA#FFFFFF#000000##FFFFFF
##6C48DA1.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)
#0068DE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#446D8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c48da;
/* rgb */ color: rgb(108, 72, 218);
/* oklch */ color: oklch(52.7% 0.211 288.3);
Tailwind
colors: {
  custom: {
    50: '#9f7de6',
    500: '#6c48da',
    950: '#000000',
  },
}
SCSS
$custom: #6c48da;
$custom-light: #9f7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48da",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 254.795,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.2106,
    "h": 288.3
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#6C48DA
secondary
#CEDDA1
accent
#E93FBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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