#6B48CD#6B48CD

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

Color values

HEX#6B48CD
RGBrgb(107, 72, 205)
HSLhsl(256, 57%, 54%)
HSVhsv(256, 65%, 80%)
CMYKcmyk(47.8%, 64.9%, 0%, 19.6%)
CIE-LABlab(41.48, 46.61, -64.01)
CIE-LCHlch(41.48, 79.19, 306.06°)
OKLaboklab(51.56% 0.0664 -0.1833)
OKLCHoklch(51.56% 0.195 289.9)
XYZxyz(19.3971, 12.1675, 59.0723)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48CD #AACD48
analogous
#4868CD #6B48CD #AD48CD
triadic
#6B48CD #CD6B48 #48CD6B
tetradic
#6B48CD #CD4868 #AACD48 #48CDAD
square
#6B48CD #CD4868 #AACD48 #48CDAD
split-complementary
#6B48CD #CDAD48 #68CD48
monochromatic
#382179 #4F2EA9 #6B48CD #9278DA #B9A8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B48CD#FFFFFF#000000##FFFFFF
##6B48CD1.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)
#0064D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#4B6884
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b48cd;
/* rgb */ color: rgb(107, 72, 205);
/* oklch */ color: oklch(51.6% 0.195 289.9);
Tailwind
colors: {
  custom: {
    50: '#9d7ddd',
    500: '#6b48cd',
    950: '#000000',
  },
}
SCSS
$custom: #6b48cd;
$custom-light: #9d7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48cd",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 255.789,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.195,
    "h": 289.9
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#6B48CD
secondary
#C6D59C
accent
#E047B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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