#6C48DB#6C48DB

#6C48DB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.212 H 288.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6C48DB
RGBrgb(108, 72, 219)
HSLhsl(255, 67%, 57%)
HSVhsv(255, 67%, 86%)
CMYKcmyk(50.7%, 67.1%, 0%, 14.1%)
CIE-LABlab(42.67, 50.75, -70.12)
CIE-LCHlch(42.67, 86.56, 305.90°)
OKLaboklab(52.78% 0.066 -0.2012)
OKLCHoklch(52.78% 0.212 288.1)
XYZxyz(21.2842, 12.9364, 68.3796)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48DB #B7DB48
analogous
#486EDB #6C48DB #B648DB
triadic
#6C48DB #DB6C48 #48DB6C
tetradic
#6C48DB #DB486E #B7DB48 #48DBB6
square
#6C48DB #DB486E #B7DB48 #48DBB6
split-complementary
#6C48DB #DBB648 #6EDB48
monochromatic
#371C8D #4C26C0 #6C48DB #957BE5 #BEAEEF

Accessibility & contrast

On white

5.85
#6C48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6C48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48DB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48DB#FFFFFF#000000##FFFFFF
##6C48DB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c48db;
/* rgb */ color: rgb(108, 72, 219);
/* oklch */ color: oklch(52.8% 0.212 288.1);
Tailwind
colors: {
  custom: {
    50: '#9f7de7',
    500: '#6c48db',
    950: '#000000',
  },
}
SCSS
$custom: #6c48db;
$custom-light: #9f7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48db",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 254.694,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.21177,
    "h": 288.1
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#6C48DB
secondary
#CFDDA2
accent
#EA3EC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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