#6B49BB#6B49BB

#6B49BB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.3% C 0.171 H 293.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6B49BB
RGBrgb(107, 73, 187)
HSLhsl(258, 46%, 51%)
HSVhsv(258, 61%, 73%)
CMYKcmyk(42.8%, 61%, 0%, 26.7%)
CIE-LABlab(40.37, 40.98, -55.34)
CIE-LCHlch(40.37, 68.86, 306.52°)
OKLaboklab(50.34% 0.0669 -0.1578)
OKLCHoklch(50.34% 0.171 293)
XYZxyz(17.4132, 11.4783, 48.3021)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49BB #99BB49
analogous
#4960BB #6B49BB #A449BB
triadic
#6B49BB #BB6B49 #49BB6B
tetradic
#6B49BB #BB4960 #99BB49 #49BBA4
square
#6B49BB #BB4960 #99BB49 #49BBA4
split-complementary
#6B49BB #BBA449 #60BB49
monochromatic
#382564 #513691 #6B49BB #8F76CC #B3A2DC

Accessibility & contrast

On white

6.37
#6B49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6B49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49BB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49BB#FFFFFF#000000##FFFFFF
##6B49BB1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#55637B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b49bb;
/* rgb */ color: rgb(107, 73, 187);
/* oklch */ color: oklch(50.3% 0.171 293.0);
Tailwind
colors: {
  custom: {
    50: '#9b7dd0',
    500: '#6b49bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b49bb;
$custom-light: #9b7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49bb",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 257.895,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.17139,
    "h": 293
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#6B49BB
secondary
#BAC997
accent
#D553AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6B49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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