#6B49BD#6B49BD

#6B49BD is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.5% C 0.174 H 292.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6B49BD
RGBrgb(107, 73, 189)
HSLhsl(258, 47%, 51%)
HSVhsv(258, 61%, 74%)
CMYKcmyk(43.4%, 61.4%, 0%, 25.9%)
CIE-LABlab(40.52, 41.54, -56.28)
CIE-LCHlch(40.52, 69.95, 306.43°)
OKLaboklab(50.49% 0.0668 -0.1606)
OKLCHoklch(50.49% 0.174 292.6)
XYZxyz(17.6287, 11.5645, 49.4376)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49BD #9BBD49
analogous
#4961BD #6B49BD #A549BD
triadic
#6B49BD #BD6B49 #49BD6B
tetradic
#6B49BD #BD4961 #9BBD49 #49BDA5
square
#6B49BD #BD4961 #9BBD49 #49BDA5
split-complementary
#6B49BD #BDA549 #61BD49
monochromatic
#382566 #513593 #6B49BD #9076CD #B4A3DE

Accessibility & contrast

On white

6.34
#6B49BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6B49BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49BD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49BD#FFFFFF#000000##FFFFFF
##6B49BD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#54637C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b49bd;
/* rgb */ color: rgb(107, 73, 189);
/* oklch */ color: oklch(50.5% 0.174 292.6);
Tailwind
colors: {
  custom: {
    50: '#9b7dd2',
    500: '#6b49bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b49bd;
$custom-light: #9b7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49bd",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 257.586,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.17391,
    "h": 292.6
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#6B49BD
secondary
#BBCA97
accent
#D651AF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6B49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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