#6A49CB#6A49CB

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

Color values

HEX#6A49CB
RGBrgb(106, 73, 203)
HSLhsl(255, 56%, 54%)
HSVhsv(255, 64%, 80%)
CMYKcmyk(47.8%, 64%, 0%, 20.4%)
CIE-LABlab(41.44, 45.30, -62.93)
CIE-LCHlch(41.44, 77.54, 305.75°)
OKLaboklab(51.46% 0.0643 -0.1802)
OKLCHoklch(51.46% 0.191 289.6)
XYZxyz(19.1028, 12.1403, 57.8251)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A49CB #AACB49
analogous
#4969CB #6A49CB #AB49CB
triadic
#6A49CB #CB6A49 #49CB6A
tetradic
#6A49CB #CB4969 #AACB49 #49CBAB
square
#6A49CB #CB4969 #AACB49 #49CBAB
split-complementary
#6A49CB #CBAB49 #69CB49
monochromatic
#382277 #4E30A7 #6A49CB #9179D9 #B8A8E6

Accessibility & contrast

On white

6.13
#6A49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6A49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A49CB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A49CB#FFFFFF#000000##FFFFFF
##6A49CB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a49cb;
/* rgb */ color: rgb(106, 73, 203);
/* oklch */ color: oklch(51.5% 0.191 289.6);
Tailwind
colors: {
  custom: {
    50: '#9c7edc',
    500: '#6a49cb',
    950: '#000000',
  },
}
SCSS
$custom: #6a49cb;
$custom-light: #9c7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a49cb",
  "rgb": {
    "r": 106,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 255.231,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.1913,
    "h": 289.6
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#6A49CB
secondary
#C6D49C
accent
#DF49B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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