#6A49BB#6A49BB

#6A49BB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.171 H 292.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6A49BB
RGBrgb(106, 73, 187)
HSLhsl(257, 46%, 51%)
HSVhsv(257, 61%, 73%)
CMYKcmyk(43.3%, 61%, 0%, 26.7%)
CIE-LABlab(40.27, 40.77, -55.50)
CIE-LCHlch(40.27, 68.87, 306.30°)
OKLaboklab(50.24% 0.0655 -0.1583)
OKLCHoklch(50.24% 0.171 292.5)
XYZxyz(17.2936, 11.4166, 48.2965)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A49BB #9ABB49
analogous
#4961BB #6A49BB #A349BB
triadic
#6A49BB #BB6A49 #49BB6A
tetradic
#6A49BB #BB4961 #9ABB49 #49BBA3
square
#6A49BB #BB4961 #9ABB49 #49BBA3
split-complementary
#6A49BB #BBA349 #61BB49
monochromatic
#382564 #503691 #6A49BB #8E76CC #B3A2DC

Accessibility & contrast

On white

6.40
#6A49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6A49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A49BB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A49BB#FFFFFF#000000##FFFFFF
##6A49BB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a49bb;
/* rgb */ color: rgb(106, 73, 187);
/* oklch */ color: oklch(50.2% 0.171 292.5);
Tailwind
colors: {
  custom: {
    50: '#9a7dd0',
    500: '#6a49bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a49bb;
$custom-light: #9a7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a49bb",
  "rgb": {
    "r": 106,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 257.368,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.17135,
    "h": 292.5
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#6A49BB
secondary
#BBC997
accent
#D553AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6A49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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