#6B49CC#6B49CC

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

Color values

HEX#6B49CC
RGBrgb(107, 73, 204)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 64%, 80%)
CMYKcmyk(47.5%, 64.2%, 0%, 20%)
CIE-LABlab(41.61, 45.78, -63.23)
CIE-LCHlch(41.61, 78.06, 305.90°)
OKLaboklab(51.63% 0.0655 -0.181)
OKLCHoklch(51.63% 0.193 289.9)
XYZxyz(19.3419, 12.2498, 58.4603)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49CC #AACC49
analogous
#4968CC #6B49CC #AD49CC
triadic
#6B49CC #CC6B49 #49CC6B
tetradic
#6B49CC #CC4968 #AACC49 #49CCAD
square
#6B49CC #CC4968 #AACC49 #49CCAD
split-complementary
#6B49CC #CCAD49 #68CC49
monochromatic
#382279 #4F2FA9 #6B49CC #9279D9 #B9A9E7

Accessibility & contrast

On white

6.09
#6B49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6B49CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49CC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49CC#FFFFFF#000000##FFFFFF
##6B49CC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b49cc;
/* rgb */ color: rgb(107, 73, 204);
/* oklch */ color: oklch(51.6% 0.193 289.9);
Tailwind
colors: {
  custom: {
    50: '#9d7edc',
    500: '#6b49cc',
    950: '#000000',
  },
}
SCSS
$custom: #6b49cc;
$custom-light: #9d7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49cc",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 255.573,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.19251,
    "h": 289.9
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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