#6B49AB#6B49AB

#6B49AB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.2% C 0.151 H 296.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6B49AB
RGBrgb(107, 73, 171)
HSLhsl(261, 40%, 48%)
HSVhsv(261, 57%, 67%)
CMYKcmyk(37.4%, 57.3%, 0%, 32.9%)
CIE-LABlab(39.29, 36.55, -47.64)
CIE-LCHlch(39.29, 60.05, 307.50°)
OKLaboklab(49.2% 0.0672 -0.1352)
OKLCHoklch(49.2% 0.151 296.4)
XYZxyz(15.7948, 10.8309, 39.7786)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49AB #89AB49
analogous
#4958AB #6B49AB #9C49AB
triadic
#6B49AB #AB6B49 #49AB6B
tetradic
#6B49AB #AB4958 #89AB49 #49AB9C
square
#6B49AB #AB4958 #89AB49 #49AB9C
split-complementary
#6B49AB #AB9C49 #58AB49
monochromatic
#352455 #503780 #6B49AB #8C6FC2 #AE9AD4

Accessibility & contrast

On white

6.63
#6B49AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6B49AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49AB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49AB#FFFFFF#000000##FFFFFF
##6B49AB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAE
Deuteranopia (green-blind)
#255BA9
Tritanopia (blue-blind)
#5C5D73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6b49ab;
/* rgb */ color: rgb(107, 73, 171);
/* oklch */ color: oklch(49.2% 0.151 296.4);
Tailwind
colors: {
  custom: {
    50: '#997dc5',
    500: '#6b49ab',
    950: '#000000',
  },
}
SCSS
$custom: #6b49ab;
$custom-light: #997dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49ab",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 260.816,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49204,
    "c": 0.15098,
    "h": 296.4
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#6B49AB
secondary
#AFC08F
accent
#D058A6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6B49AB

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

Preview Lab → · Contrast checker → · Palette generator →

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