#6D48CB#6D48CB

#6D48CB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.193 H 291.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6D48CB
RGBrgb(109, 72, 203)
HSLhsl(257, 56%, 54%)
HSVhsv(257, 65%, 80%)
CMYKcmyk(46.3%, 64.5%, 0%, 20.4%)
CIE-LABlab(41.53, 46.43, -62.77)
CIE-LCHlch(41.53, 78.08, 306.49°)
OKLaboklab(51.59% 0.0694 -0.1796)
OKLCHoklch(51.59% 0.193 291.1)
XYZxyz(19.4005, 12.1970, 57.8204)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48CB #A6CB48
analogous
#4865CB #6D48CB #AF48CB
triadic
#6D48CB #CB6D48 #48CB6D
tetradic
#6D48CB #CB4865 #A6CB48 #48CBAF
square
#6D48CB #CB4865 #A6CB48 #48CBAF
split-complementary
#6D48CB #CBAF48 #65CB48
monochromatic
#3A2277 #512FA6 #6D48CB #9378D9 #B9A7E6

Accessibility & contrast

On white

6.11
#6D48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6D48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48CB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48CB#FFFFFF#000000##FFFFFF
##6D48CB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#506783
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d48cb;
/* rgb */ color: rgb(109, 72, 203);
/* oklch */ color: oklch(51.6% 0.193 291.1);
Tailwind
colors: {
  custom: {
    50: '#9e7ddc',
    500: '#6d48cb',
    950: '#000000',
  },
}
SCSS
$custom: #6d48cb;
$custom-light: #9e7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48cb",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 256.947,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.19255,
    "h": 291.1
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#6D48CB
secondary
#C4D39B
accent
#DF49B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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