#6049CB#6049CB

#6049CB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.192 H 285.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6049CB
RGBrgb(96, 73, 203)
HSLhsl(251, 56%, 54%)
HSVhsv(251, 64%, 80%)
CMYKcmyk(52.7%, 64%, 0%, 20.4%)
CIE-LABlab(40.51, 43.45, -64.48)
CIE-LCHlch(40.51, 77.75, 303.98°)
OKLaboklab(50.56% 0.0508 -0.185)
OKLCHoklch(50.56% 0.192 285.4)
XYZxyz(17.9827, 11.5627, 57.7726)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6049CB #B4CB49
analogous
#4973CB #6049CB #A149CB
triadic
#6049CB #CB6049 #49CB60
tetradic
#6049CB #CB4973 #B4CB49 #49CBA1
square
#6049CB #CB4973 #B4CB49 #49CBA1
split-complementary
#6049CB #CBA149 #73CB49
monochromatic
#312277 #4530A7 #6049CB #8A79D9 #B3A8E6

Accessibility & contrast

On white

6.34
#6049CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6049CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6049CB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6049CB#FFFFFF#000000##FFFFFF
##6049CB1.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)
#0063CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#356983
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6049cb;
/* rgb */ color: rgb(96, 73, 203);
/* oklch */ color: oklch(50.6% 0.192 285.4);
Tailwind
colors: {
  custom: {
    50: '#967ddc',
    500: '#6049cb',
    950: '#000000',
  },
}
SCSS
$custom: #6049cb;
$custom-light: #967ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6049cb",
  "rgb": {
    "r": 96,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 250.615,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.1919,
    "h": 285.4
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#6049CB
secondary
#CAD49C
accent
#DF49C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6049CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6049CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva