#6B48CC#6B48CC

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

Color values

HEX#6B48CC
RGBrgb(107, 72, 204)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 65%, 80%)
CMYKcmyk(47.5%, 64.7%, 0%, 20%)
CIE-LABlab(41.41, 46.33, -63.56)
CIE-LCHlch(41.41, 78.65, 306.09°)
OKLaboklab(51.48% 0.0666 -0.182)
OKLCHoklch(51.48% 0.194 290.1)
XYZxyz(19.2768, 12.1194, 58.4386)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48CC #A9CC48
analogous
#4867CC #6B48CC #AD48CC
triadic
#6B48CC #CC6B48 #48CC6B
tetradic
#6B48CC #CC4867 #A9CC48 #48CCAD
square
#6B48CC #CC4867 #A9CC48 #48CCAD
split-complementary
#6B48CC #CCAD48 #67CC48
monochromatic
#382178 #4F2FA8 #6B48CC #9278D9 #B8A8E7

Accessibility & contrast

On white

6.13
#6B48CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6B48CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48CC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48CC#FFFFFF#000000##FFFFFF
##6B48CC1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#4C6884
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b48cc;
/* rgb */ color: rgb(107, 72, 204);
/* oklch */ color: oklch(51.5% 0.194 290.1);
Tailwind
colors: {
  custom: {
    50: '#9d7ddc',
    500: '#6b48cc',
    950: '#000000',
  },
}
SCSS
$custom: #6b48cc;
$custom-light: #9d7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48cc",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 255.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.19378,
    "h": 290.1
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#6B48CC
secondary
#C5D49C
accent
#E048B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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