#6D48CA#6D48CA

#6D48CA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.191 H 291.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6D48CA
RGBrgb(109, 72, 202)
HSLhsl(257, 55%, 54%)
HSVhsv(257, 64%, 79%)
CMYKcmyk(46%, 64.4%, 0%, 20.8%)
CIE-LABlab(41.45, 46.15, -62.32)
CIE-LCHlch(41.45, 77.54, 306.52°)
OKLaboklab(51.51% 0.0695 -0.1783)
OKLCHoklch(51.51% 0.191 291.3)
XYZxyz(19.2817, 12.1495, 57.1948)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48CA #A5CA48
analogous
#4864CA #6D48CA #AE48CA
triadic
#6D48CA #CA6D48 #48CA6D
tetradic
#6D48CA #CA4864 #A5CA48 #48CAAE
square
#6D48CA #CA4864 #A5CA48 #48CAAE
split-complementary
#6D48CA #CAAE48 #64CA48
monochromatic
#3A2276 #5130A5 #6D48CA #9377D8 #B9A7E5

Accessibility & contrast

On white

6.12
#6D48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6D48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48CA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48CA#FFFFFF#000000##FFFFFF
##6D48CA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#516782
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6d48ca;
/* rgb */ color: rgb(109, 72, 202);
/* oklch */ color: oklch(51.5% 0.191 291.3);
Tailwind
colors: {
  custom: {
    50: '#9e7ddb',
    500: '#6d48ca',
    950: '#000000',
  },
}
SCSS
$custom: #6d48ca;
$custom-light: #9e7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48ca",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 257.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.19133,
    "h": 291.3
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#6D48CA
secondary
#C3D39B
accent
#DE49B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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