#6B48CA#6B48CA

#6B48CA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.191 H 290.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6B48CA
RGBrgb(107, 72, 202)
HSLhsl(256, 55%, 54%)
HSVhsv(256, 64%, 79%)
CMYKcmyk(47%, 64.4%, 0%, 20.8%)
CIE-LABlab(41.25, 45.76, -62.65)
CIE-LCHlch(41.25, 77.58, 306.15°)
OKLaboklab(51.32% 0.0668 -0.1793)
OKLCHoklch(51.32% 0.191 290.4)
XYZxyz(19.0384, 12.0241, 57.1834)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48CA #A7CA48
analogous
#4866CA #6B48CA #AC48CA
triadic
#6B48CA #CA6B48 #48CA6B
tetradic
#6B48CA #CA4866 #A7CA48 #48CAAC
square
#6B48CA #CA4866 #A7CA48 #48CAAC
split-complementary
#6B48CA #CAAC48 #66CA48
monochromatic
#392276 #4F30A5 #6B48CA #9177D8 #B8A7E5

Accessibility & contrast

On white

6.17
#6B48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6B48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48CA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48CA#FFFFFF#000000##FFFFFF
##6B48CA1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#4D6782
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b48ca;
/* rgb */ color: rgb(107, 72, 202);
/* oklch */ color: oklch(51.3% 0.191 290.4);
Tailwind
colors: {
  custom: {
    50: '#9d7ddb',
    500: '#6b48ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b48ca;
$custom-light: #9d7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48ca",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 256.154,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.19133,
    "h": 290.4
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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