#6B49CB#6B49CB

#6B49CB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.191 H 290.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6B49CB
RGBrgb(107, 73, 203)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 64%, 80%)
CMYKcmyk(47.3%, 64%, 0%, 20.4%)
CIE-LABlab(41.54, 45.49, -62.77)
CIE-LCHlch(41.54, 77.52, 305.93°)
OKLaboklab(51.55% 0.0656 -0.1797)
OKLCHoklch(51.55% 0.191 290.1)
XYZxyz(19.2224, 12.2019, 57.8307)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B49CB #A9CB49
analogous
#4968CB #6B49CB #AC49CB
triadic
#6B49CB #CB6B49 #49CB6B
tetradic
#6B49CB #CB4968 #A9CB49 #49CBAC
square
#6B49CB #CB4968 #A9CB49 #49CBAC
split-complementary
#6B49CB #CBAC49 #68CB49
monochromatic
#382277 #4F30A7 #6B49CB #9279D9 #B8A8E6

Accessibility & contrast

On white

6.10
#6B49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6B49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B49CB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B49CB#FFFFFF#000000##FFFFFF
##6B49CB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#4C6883
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b49cb;
/* rgb */ color: rgb(107, 73, 203);
/* oklch */ color: oklch(51.5% 0.191 290.1);
Tailwind
colors: {
  custom: {
    50: '#9d7edc',
    500: '#6b49cb',
    950: '#000000',
  },
}
SCSS
$custom: #6b49cb;
$custom-light: #9d7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b49cb",
  "rgb": {
    "r": 107,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 255.692,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5155,
    "c": 0.19128,
    "h": 290.1
  },
  "luminance": 0.12203
}

Semantic roles & 50–950 ramp

primary
#6B49CB
secondary
#C5D49C
accent
#DF49B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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